public WebhookSenderService(IConfiguration config, IProductArchive archive, ICustomWebClient webClient) { _productsToSend = new Queue <Product>(); _config = config; _archive = archive; _webClient = webClient; _timer = new Timer(_config.GetValue <int>("SendingInterval")); _timer.Elapsed += SendingLoop; }
public Scraper(IConfiguration config, ICustomWebClient web) { _config = config; _web = web; _url = config.GetValue <string>("WebsiteUrl"); }
public PlayersController(ICustomWebClient customWebClient) { _customWebClient = customWebClient; }
public NbaStatsController(ICustomWebClient customWebClient, IMemoryCache cache) { _customWebClient = customWebClient; this.cache = cache; }
public ImageHandler() { _restService = new RestService(); WebClientFactory = new CustomWebClientFactory(); CustomWebClient = WebClientFactory.Create(); }
public RecognitionUtils() { WebClientFactory = new CustomWebClientFactory(); CustomWebClient = WebClientFactory.Create(); }