public DownloadClientProvider(IDownloadClientStatusService downloadClientStatusService, IDownloadClientFactory downloadClientFactory, ICacheManager cacheManager, Logger logger) { _logger = logger; _downloadClientFactory = downloadClientFactory; _downloadClientStatusService = downloadClientStatusService; _lastUsedDownloadClient = cacheManager.GetCache <int>(GetType(), "lastDownloadClientId"); }
public DownloadClientFactory(IDownloadClientStatusService downloadClientStatusService, IDownloadClientRepository providerRepository, IEnumerable <IDownloadClient> providers, IContainer container, IEventAggregator eventAggregator, Logger logger) : base(providerRepository, providers, container, eventAggregator, logger) { _downloadClientStatusService = downloadClientStatusService; _logger = logger; }
public DownloadService(IProvideDownloadClient downloadClientProvider, IDownloadClientStatusService downloadClientStatusService, IIndexerStatusService indexerStatusService, IRateLimitService rateLimitService, IEventAggregator eventAggregator, Logger logger) { _downloadClientProvider = downloadClientProvider; _downloadClientStatusService = downloadClientStatusService; _indexerStatusService = indexerStatusService; _rateLimitService = rateLimitService; _eventAggregator = eventAggregator; _logger = logger; }
public DownloadMonitoringService(IDownloadClientStatusService downloadClientStatusService, IDownloadClientFactory downloadClientFactory, IEventAggregator eventAggregator, IManageCommandQueue manageCommandQueue, IConfigService configService, IFailedDownloadService failedDownloadService, ICompletedDownloadService completedDownloadService, ITrackedDownloadService trackedDownloadService, Logger logger) { _downloadClientStatusService = downloadClientStatusService; _downloadClientFactory = downloadClientFactory; _eventAggregator = eventAggregator; _manageCommandQueue = manageCommandQueue; _configService = configService; _failedDownloadService = failedDownloadService; _completedDownloadService = completedDownloadService; _trackedDownloadService = trackedDownloadService; _logger = logger; _refreshDebounce = new Debouncer(QueueRefresh, TimeSpan.FromSeconds(5)); }
public DownloadClientStatusCheck(IDownloadClientFactory providerFactory, IDownloadClientStatusService providerStatusService) { _providerFactory = providerFactory; _providerStatusService = providerStatusService; }
public DownloadClientStatusCheck(IDownloadClientFactory providerFactory, IDownloadClientStatusService providerStatusService, ILocalizationService localizationService) : base(localizationService) { _providerFactory = providerFactory; _providerStatusService = providerStatusService; }