public DownloadProcess(IOptions <DownloadConfig> config, ILogger <DownloadProcess> logger) { this.config = config.Value; this.logger = logger; client = new(); }
public DownloadWorker(DownloadProcess downloadProcess, IOptions <DownloadConfig> config) { this.downloadProcess = downloadProcess; this.config = config.Value; }