public WebCrawlerService(IWebContentRetrievalService webContentRetrievalService, ILinksExtractionService linksExtractionService) { this.webContentRetrievalService = webContentRetrievalService; this.linksExtractionService = linksExtractionService; QueueEmptyWaitInterval = TimeSpan.FromMilliseconds(QUEUE_EMPTY_WAIT_TIMEOUT); }
public CrawlingController(IWebContentRetrievalService webContentRetrievalService, ILinksExtractionService linksExtractionService, IWebCrawlerService webCrawlerService) { this.webContentRetrievalService = webContentRetrievalService; this.linksExtractionService = linksExtractionService; this.webCrawlerService = webCrawlerService; }