Пример #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));
 }
Пример #3
0
 public IndexingService(IIndexingQueue indexingQueue)
 {
     _indexingQueue = indexingQueue;
 }