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