Exemplo n.º 1
0
 public WebCrawlerService(IWebContentRetrievalService webContentRetrievalService,
                          ILinksExtractionService linksExtractionService)
 {
     this.webContentRetrievalService = webContentRetrievalService;
     this.linksExtractionService     = linksExtractionService;
     QueueEmptyWaitInterval          = TimeSpan.FromMilliseconds(QUEUE_EMPTY_WAIT_TIMEOUT);
 }
Exemplo n.º 2
0
 public CrawlingController(IWebContentRetrievalService webContentRetrievalService,
                           ILinksExtractionService linksExtractionService,
                           IWebCrawlerService webCrawlerService)
 {
     this.webContentRetrievalService = webContentRetrievalService;
     this.linksExtractionService     = linksExtractionService;
     this.webCrawlerService          = webCrawlerService;
 }