Beispiel #1
0
 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));
 }
Beispiel #2
0
 public RepositoryCommitService(CiadDb db)
 {
     this.db = db ?? throw new ArgumentNullException(nameof(db));
 }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 public ProjectService(CiadDb db)
 {
     this.db = db ?? throw new ArgumentNullException(nameof(db));
 }