Пример #1
0
 public DataRepositoryCrawler(ILoggerFactory loggerFactory, IOptions <DataRepoOptions> options, IServiceHeartbeat heartbeat, IDataRepositorySyncer repoSyncer, IDataRepositoryManifestWriter manifestWriter)
 {
     this.logger         = loggerFactory.CreateLogger <DataRepositoryCrawler>();
     this.options        = options;
     this.heartbeat      = heartbeat;
     this.repoSyncer     = repoSyncer;
     this.manifestWriter = manifestWriter;
 }
Пример #2
0
 public DataDeploymentBackgroundSync(ILoggerFactory loggerFactory, IServiceHeartbeat heartbeat, IDataDeploymentRequestProcessor deploymentRequestProcessor)
 {
     this.logger    = loggerFactory.CreateLogger <DataDeploymentBackgroundSync>();
     this.heartbeat = heartbeat;
     this.deploymentRequestProcessor = deploymentRequestProcessor;
 }