Esempio n. 1
0
 public RunProcessor(IFailureAnalyzer failureAnalyzer, ILogger <RunProcessor> logger, IMemoryCache cache, HttpClient httpClient)
 {
     this.failureAnalyzer = failureAnalyzer;
     this.logger          = logger;
     this.cache           = cache;
     this.httpClient      = httpClient;
 }
Esempio n. 2
0
 public RunProcessor(IFailureAnalyzer failureAnalyzer, ILogger <RunProcessor> logger, IMemoryCache cache, SecretClient secretClient, CosmosClient cosmosClient, VssConnection vssConnection)
 {
     this.failureAnalyzer = failureAnalyzer;
     this.logger          = logger;
     this.cache           = cache;
     this.secretClient    = secretClient;
     this.cosmosClient    = cosmosClient;
     this.vssConnection   = vssConnection;
 }
Esempio n. 3
0
 public RunProcessor(
     IFailureAnalyzer failureAnalyzer,
     ILogger <RunProcessor> logger,
     CosmosClient cosmosClient,
     VssConnection vssConnection,
     BlobUploadProcessor blobUploadProcessor)
 {
     this.failureAnalyzer     = failureAnalyzer ?? throw new ArgumentNullException(nameof(failureAnalyzer));
     this.logger              = logger ?? throw new ArgumentNullException(nameof(logger));
     this.blobUploadProcessor = blobUploadProcessor ?? throw new ArgumentNullException(nameof(blobUploadProcessor));
     this.cosmosClient        = cosmosClient ?? throw new ArgumentNullException(nameof(cosmosClient));
     this.vssConnection       = vssConnection ?? throw new ArgumentNullException(nameof(vssConnection));
 }