public ScrapingOrchestrator(ILoggerFactory loggerFactory, IDownloadManager downloadManager, IScraperFactory scraperFactory, IPersisterFactory persisterFactory)
 {
     _logger           = loggerFactory.CreateLogger <ScrapingOrchestrator>();
     _downloadManager  = downloadManager;
     _scraperFactory   = scraperFactory;
     _persisterFactory = persisterFactory;
 }
예제 #2
0
 protected SingleModelAggregationProcessor(IPluginRequest pluginRequest,
                                           IMongoDatabase mongoDatabase,
                                           IDbConnectionFactory outputConnectionFactory,
                                           IPersisterFactory <TModel> persisterFactory)
 {
     this.pluginRequest           = pluginRequest;
     this.mongoDatabase           = mongoDatabase;
     this.outputConnectionFactory = outputConnectionFactory;
     this.persisterFactory        = persisterFactory;
 }
예제 #3
0
 public SimpleModelProcessor(IPluginRequest pluginRequest, IDbConnectionFactory outputConnectionFactory, IPersisterFactory <TModel> persisterFactory)
 {
     this.pluginRequest           = pluginRequest;
     this.outputConnectionFactory = outputConnectionFactory;
     this.persisterFactory        = persisterFactory;
 }