public DownloadProcess(IOptions <DownloadConfig> config, ILogger <DownloadProcess> logger)
        {
            this.config = config.Value;
            this.logger = logger;

            client = new();
        }
Exemplo n.º 2
0
 public DownloadWorker(DownloadProcess downloadProcess, IOptions <DownloadConfig> config)
 {
     this.downloadProcess = downloadProcess;
     this.config          = config.Value;
 }