public ProjectsRepository(ProjectTreeLoader treeLoader) { AllProjects = treeLoader.AllProjects; _allProjectNodes = treeLoader.AllProjectNodes; _loader = new ProjectLoader(); }
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); }