public CommunityRunnable(ILogger <CommunityRunnable> logger, ISeenItemRepository seenItemRepository, HttpClient httpClient, Function.FunctionConfig config, Scraper scraper)
 {
     slack = new SlackClient(new SlackConfig {
         WebHookUrl = config.EstrangedDiscordCommunityWebhook, HttpClient = httpClient
     });
     this.scraper = scraper;
 }
Esempio n. 2
0
 public ReviewsRunnable(ILogger <CommunityRunnable> logger, ISeenItemRepository seenItemRepository, HttpClient httpClient, Function.FunctionConfig config, TranslationClient translation, ISteamClient steam)
 {
     this.logger = logger;
     this.slack  = new SlackClient(new SlackConfig {
         WebHookUrl = config.EstrangedDiscordReviewsWebhook, HttpClient = httpClient
     });
     this.seenItemRepository = seenItemRepository;
     this.translation        = translation;
     this.steam = steam;
 }
 public Scraper(HttpClient httpClient, ISeenItemRepository seenItemRepository)
 {
     this.httpClient         = httpClient;
     this.seenItemRepository = seenItemRepository;
 }