Esempio n. 1
0
 public ManagementService(
     IProjectManagementService projects,
     IPackageManagementService packages,
     IConfigManagementService configs,
     ISourceManagementService sources)
 {
     Projects = projects;
     Packages = packages;
     Configs  = configs;
     Sources  = sources;
 }
Esempio n. 2
0
 public ProjectManagementService(
     IPackageManagementService packages,
     IConfigManagementService configs,
     ISerialisationService serialisation,
     ILogService logger)
 {
     this.packages      = packages ?? throw new ArgumentNullException(nameof(packages));
     this.configs       = configs ?? throw new ArgumentNullException(nameof(configs));
     this.serialisation = serialisation ?? throw new ArgumentNullException(nameof(serialisation));
     this.logger        = logger;
     ResetProjects();
 }