public DownloadManagementService(ILogger <DownloadManagementService> logger, IDownloadStatusNotifier notifier, IMediaDownloader youtubeDl, IDownloaderServiceConfiguration serviceConfig, IFileManager fileManager, IDownloadedFileCleanupService cleanupService) { this.logger = logger; this.notifier = notifier; this.youtubeDl = youtubeDl; this.serviceConfig = serviceConfig; this.fileManager = fileManager; this.cleanupService = cleanupService; }
public DownloadedFileCleanupService(ILogger <DownloadedFileCleanupService> logger, IFileManager fileManager, IDownloaderServiceConfiguration serviceConfiguration) { this.logger = logger; this.fileManager = fileManager; this.serviceConfiguration = serviceConfiguration; }