Exemplo n.º 1
0
        public HistoryModule(IHistoryService historyService,
                             IQualityUpgradableSpecification qualityUpgradableSpecification,
                             IDownloadTrackingService downloadTrackingService)
        {
            _historyService = historyService;
            _qualityUpgradableSpecification = qualityUpgradableSpecification;
            _downloadTrackingService        = downloadTrackingService;
            GetResourcePaged = GetHistory;

            Post["/failed"] = x => MarkAsFailed();
        }
 public DownloadedEpisodesCommandService(IDownloadedEpisodesImportService downloadedEpisodesImportService,
                                         IDownloadTrackingService downloadTrackingService,
                                         ICompletedDownloadService completedDownloadService,
                                         IDiskProvider diskProvider,
                                         IConfigService configService,
                                         Logger logger)
 {
     _downloadedEpisodesImportService = downloadedEpisodesImportService;
     _downloadTrackingService         = downloadTrackingService;
     _completedDownloadService        = completedDownloadService;
     _diskProvider  = diskProvider;
     _configService = configService;
     _logger        = logger;
 }
Exemplo n.º 3
0
 public ImportMechanismCheck(IConfigService configService, IProvideDownloadClient provideDownloadClient, IDownloadTrackingService downloadTrackingService)
 {
     _configService = configService;
     _provideDownloadClient = provideDownloadClient;
     _downloadTrackingService = downloadTrackingService;
 }
Exemplo n.º 4
0
 public NotInQueueSpecification(IDownloadTrackingService downloadTrackingService, Logger logger)
 {
     _downloadTrackingService = downloadTrackingService;
     _logger = logger;
 }
Exemplo n.º 5
0
 public QueueService(IDownloadTrackingService downloadTrackingService)
 {
     _downloadTrackingService = downloadTrackingService;
 }
Exemplo n.º 6
0
 public QueueService(IDownloadTrackingService downloadTrackingService, Logger logger)
 {
     _downloadTrackingService = downloadTrackingService;
     _logger = logger;
 }
Exemplo n.º 7
0
 public NotInQueueSpecification(IDownloadTrackingService downloadTrackingService, Logger logger)
 {
     _downloadTrackingService = downloadTrackingService;
     _logger = logger;
 }
Exemplo n.º 8
0
 public ImportMechanismCheck(IConfigService configService, IProvideDownloadClient provideDownloadClient, IDownloadTrackingService downloadTrackingService)
 {
     _configService           = configService;
     _provideDownloadClient   = provideDownloadClient;
     _downloadTrackingService = downloadTrackingService;
 }