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