public DeploymentManager( HostAgentClient api, CiadDb db, IHostService hostService, IProgramReleaseService releaseService, IEventLogger eventLog, ILogger log) { this.hostAgent = api ?? throw new ArgumentNullException(nameof(api)); this.releaseService = releaseService ?? throw new ArgumentNullException(nameof(releaseService)); this.db = db ?? throw new ArgumentNullException(nameof(db)); this.hostService = hostService ?? throw new ArgumentNullException(nameof(hostService)); this.eventLog = eventLog ?? throw new ArgumentNullException(nameof(eventLog)); }
public RepositoryCommitService(CiadDb db) { this.db = db ?? throw new ArgumentNullException(nameof(db)); }
public RepositoryService(CiadDb db, IEventLogger eventLog) { this.db = db ?? throw new ArgumentNullException(nameof(db)); this.eventLog = eventLog ?? throw new ArgumentNullException(nameof(eventLog)); this.branchService = new RepositoryBranchService(db); }
public ProjectService(CiadDb db) { this.db = db ?? throw new ArgumentNullException(nameof(db)); }