public ProjectPluginVersions(IValidationOutput validationOutput, ProjectNode projectNode, IProjectsRepository repository, ExternalModulesRepository externalModules)
 {
     _validationOutput = validationOutput;
     _projectNode      = projectNode;
     _repository       = repository;
     _externalModules  = externalModules;
 }
 public ParentReferenceExist(ProjectsValidations validationOutput, ProjectNode projectNode, IProjectsRepository repository, ExternalModulesRepository externalModules)
 {
     _validationOutput = validationOutput;
     _projectNode      = projectNode;
     _repository       = repository;
     _externalModules  = externalModules;
 }
Beispiel #3
0
        internal AddToExternalFix(ExternalModulesRepository externalModules, IProjectReference externalReference)
        {
            _externalModules   = externalModules;
            _externalReference = externalReference;

            ShouldBeConfirmed = true;
            Title             = "Mark as external module";
        }
Beispiel #4
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);
        }
 internal ProjectsValidations(IProjectsRepository repository, ExternalModulesRepository externalModules)
 {
     _repository      = repository;
     _externalModules = externalModules;
     ValidationErrors = new List <ValidationError>();
 }