public ProxyHealthCheckerBackfroundWorker
 (
     IProxyService proxyService,
     IProxyHealthChecker proxyHealthChecker,
     IProxyGrabberSettingsService settings,
     ILogger <ProxyHealthCheckerBackfroundWorker> logger
 )
 {
     _proxyService       = proxyService;
     _proxyHealthChecker = proxyHealthChecker;
     _settings           = settings;
     _logger             = logger;
     _candidatesToRemove = new ConcurrentDictionary <string, int>();
 }
Beispiel #2
0
 public ProxyGrabberBackgroundWorker
 (
     IEnumerable <IProxyParseProvider> proxyParseProviders,
     IProxyGrabberSettingsService settings,
     IProxyHealthChecker proxyHealthChecker,
     IProxyService proxyService,
     ILogger <ProxyGrabberBackgroundWorker> logger
 )
 {
     _proxyParseProviders = proxyParseProviders;
     _proxyHealthChecker  = proxyHealthChecker;
     _proxyService        = proxyService;
     _settings            = settings;
     _logger = logger;
 }