Beispiel #1
0
 public QBittorrent(IQBittorrentProxySelector proxySelector,
                    ITorrentFileInfoReader torrentFileInfoReader,
                    IHttpClient httpClient,
                    IConfigService configService,
                    IDiskProvider diskProvider,
                    IRemotePathMappingService remotePathMappingService,
                    Logger logger)
     : base(torrentFileInfoReader, httpClient, configService, diskProvider, remotePathMappingService, logger)
 {
     _proxySelector = proxySelector;
 }
Beispiel #2
0
        public QBittorrent(IQBittorrentProxySelector proxySelector,
                           ITorrentFileInfoReader torrentFileInfoReader,
                           IHttpClient httpClient,
                           IConfigService configService,
                           IDiskProvider diskProvider,
                           ICacheManager cacheManager,
                           Logger logger)
            : base(torrentFileInfoReader, httpClient, configService, diskProvider, logger)
        {
            _proxySelector = proxySelector;

            _seedingTimeCache = cacheManager.GetCache <SeedingTimeCacheEntry>(GetType(), "seedingTime");
        }