internal void UploadProgressEvent(object sender, UploadProgressArgs e) { _logger.Info(sender.ToString() + " -> " + e.TransferredBytes); var progressReport = new TaskProgressReport { Name = _name, PercentComplete = e.PercentDone, CurrentStep = e.TransferredBytes, TotalSteps = e.TotalBytes }; _progress.Report(progressReport); }
void ProgressChanged(object sender, TaskProgressReport report) { }
internal void DownloadProgressEvent(object sender, WriteObjectProgressArgs e) { var progressReport = new TaskProgressReport { Name = _name, PercentComplete = e.PercentDone, CurrentStep = e.TransferredBytes, TotalSteps = e.TotalBytes }; _progress.Report(progressReport); }