public CrawlerService(IIndexingQueue queue, IScrapperService scrapperService, IIndexStorage indexStorage, IConfiguration configuration) { _queue = queue; _scrapperService = scrapperService; _indexStorage = indexStorage; _configuration = configuration; _sameDomain = configuration.GetValue <bool>("SameDomain"); }
public AddDocumentsCommandHandler(IIndexingQueue indexingQueue) { this.indexingQueue = indexingQueue ?? throw new ArgumentNullException(nameof(indexingQueue)); }
public IndexingService(IIndexingQueue indexingQueue) { _indexingQueue = indexingQueue; }