public AppHost(IScraper scraper, ICompare compare, IOptions <ScraperConfiguration> config, IFluentEmailFactory fluentEmail)
 {
     _scraper     = scraper;
     _compare     = compare;
     _config      = config.Value;
     _fluentEmail = fluentEmail;
 }
Esempio n. 2
0
 public Scraper(HttpClient httpClient, IOptions <ScraperConfiguration> config, List <string> urls)
 {
     _httpClient = httpClient;
     _config     = config.Value;
     Urls        = urls;
 }
 public Compare(IOptions <ScraperConfiguration> config)
 {
     _config = config.Value;
 }