Beispiel #1
0
 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));
 }
Beispiel #3
0
 public IndexingService(IIndexingQueue indexingQueue)
 {
     _indexingQueue = indexingQueue;
 }