Exemple #1
0
 public DownloaderController(IMediaDownloader youtubeDl, IDownloadManagementService downloaderService, IFilenameDatabase filenameDatabase)
 {
     this.youtubeDl         = youtubeDl;
     this.downloaderService = downloaderService;
     this.filenameDatabase  = filenameDatabase;
 }
Exemple #2
0
 public DownloadHub(IQueueService <DownloadRequestBM> queue, IFilenameDatabase filenameDatabase, IDownloadManagementService downloaderService)
 {
     this.downloadServiceQueue = queue;
     this.filenameDatabase     = filenameDatabase;
     this.downloaderService    = downloaderService;
 }