Exemple #1
0
 protected UsenetClientBase(IHttpClient httpClient,
                            IConfigService configService,
                            IDiskProvider diskProvider,
                            IRemotePathMappingService remotePathMappingService,
                            IValidateNzbs nzbValidationService,
                            Logger logger)
     : base(configService, diskProvider, remotePathMappingService, logger)
 {
     _httpClient           = httpClient;
     _nzbValidationService = nzbValidationService;
 }
Exemple #2
0
 public Sabnzbd(ISabnzbdProxy proxy,
                IHttpClient httpClient,
                IConfigService configService,
                IDiskProvider diskProvider,
                IRemotePathMappingService remotePathMappingService,
                IValidateNzbs nzbValidationService,
                Logger logger)
     : base(httpClient, configService, diskProvider, remotePathMappingService, nzbValidationService, logger)
 {
     _proxy = proxy;
 }
Exemple #3
0
 public NzbVortex(INzbVortexProxy proxy,
                  IHttpClient httpClient,
                  IConfigService configService,
                  INamingConfigService namingConfigService,
                  IDiskProvider diskProvider,
                  IRemotePathMappingService remotePathMappingService,
                  IValidateNzbs nzbValidationService,
                  Logger logger)
     : base(httpClient, configService, namingConfigService, diskProvider, remotePathMappingService, nzbValidationService, logger)
 {
     _proxy = proxy;
 }
Exemple #4
0
        public UsenetBlackhole(IScanWatchFolder scanWatchFolder,
                               IHttpClient httpClient,
                               IConfigService configService,
                               IDiskProvider diskProvider,
                               IRemotePathMappingService remotePathMappingService,
                               IValidateNzbs nzbValidationService,
                               Logger logger)
            : base(httpClient, configService, diskProvider, remotePathMappingService, nzbValidationService, logger)
        {
            _scanWatchFolder = scanWatchFolder;

            ScanGracePeriod = TimeSpan.FromSeconds(30);
        }
 public UsenetDownloadStation(ISharedFolderResolver sharedFolderResolver,
                              ISerialNumberProvider serialNumberProvider,
                              IFileStationProxy fileStationProxy,
                              IDownloadStationInfoProxy dsInfoProxy,
                              IDownloadStationTaskProxy dsTaskProxy,
                              IHttpClient httpClient,
                              IConfigService configService,
                              IDiskProvider diskProvider,
                              IRemotePathMappingService remotePathMappingService,
                              IValidateNzbs nzbValidationService,
                              Logger logger)
     : base(httpClient, configService, diskProvider, remotePathMappingService, nzbValidationService, logger)
 {
     _dsInfoProxy          = dsInfoProxy;
     _dsTaskProxy          = dsTaskProxy;
     _fileStationProxy     = fileStationProxy;
     _sharedFolderResolver = sharedFolderResolver;
     _serialNumberProvider = serialNumberProvider;
 }
Exemple #6
0
 public BinSearch(IIndexerHttpClient httpClient, IEventAggregator eventAggregator, IIndexerStatusService indexerStatusService, IConfigService configService, IValidateNzbs nzbValidationService, Logger logger)
     : base(httpClient, eventAggregator, indexerStatusService, configService, nzbValidationService, logger)
 {
 }
Exemple #7
0
 protected UsenetIndexerBase(IIndexerHttpClient httpClient, IEventAggregator eventAggregator, IIndexerStatusService indexerStatusService, IConfigService configService, IValidateNzbs nzbValidationService, Logger logger)
     : base(httpClient, eventAggregator, indexerStatusService, configService, logger)
 {
     _nzbValidationService = nzbValidationService;
 }