Example #1
0
 private void StartDownloadFileList()
 {
     Task.Run(async() =>
     {
         foreach (var file in Files)
         {
             await _runner.Copy(
                 _anime.Drive.DriveName,
                 file.GetPath(),
                 _anime.GetOutputPath(_outputPath),
                 out _process,
                 (log) => { Application.Current.Dispatcher.Invoke(() => { ProgressBox.Text = log; }); });
         }
     });
 }