public ManagementService( IProjectManagementService projects, IPackageManagementService packages, IConfigManagementService configs, ISourceManagementService sources) { Projects = projects; Packages = packages; Configs = configs; Sources = sources; }
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(); }