private void DownloadProgressAdapter(object sender, _DownloadProgress e) { UpdateProgress(new DownloadChangedProgress { Status = e.DownloadState, BytesReceived = e.DownloadedSize, CurrentReceived = e.CurrentRead, TotalBytesToReceive = e.TotalSizeToDownload, CurrentSpeed = e.CurrentSpeed, ProgressPercentage = e.ProgressPercentage, TimeLeft = GetLastTimeSpan(InnerProgressStopwatch, e.TimeLeft) }); }
public void UpdateProgress(_DownloadProgress input) => DownloadProgress?.Invoke(this, input);