Пример #1
0
        private bool TryGetProject(string project, bool create, out SccProjectSettings settings)
        {
            if (_actualToProject.TryGetValue(project, out settings))
                return true;

            string id = GetProjectId(ref project);

            settings = null;
            if (id == null)
                return false;

            if (create)
                settings = new SccProjectSettings(this, project, id);

            return true;
        }
Пример #2
0
        internal void UpdateSolutionReference(SccProjectSettings item, string newName)
        {
            if (item != null && item.SolutionProjectReference != null)
                _solutionToProject.Remove(item.SolutionProjectReference);

            _solutionToProject[newName] = item;
        }