示例#1
0
        public ProjectsRepository(ProjectTreeLoader treeLoader)
        {
            AllProjects      = treeLoader.AllProjects;
            _allProjectNodes = treeLoader.AllProjectNodes;

            _loader = new ProjectLoader();
        }
示例#2
0
        private void Load()
        {
            var treeLoader = new ProjectTreeLoader(_fileOrFolderName, _fileBasedRepo);

            treeLoader.LoadProjects();

            ProjectsRepository = new ProjectsRepository(treeLoader);

            ExternalModules = new ExternalModulesRepository(BaseDir);             // REVIEW: BaseDir should be solution
            Validations     = new ProjectsValidations(ProjectsRepository, ExternalModules);
        }