/// <summary> /// Executes DownloadProgress event /// </summary> private void OnDownloadProgress(DownloadProgressEventArgs downloadProgressEventArgs) { m_Logger.Error("Download progress for step {0}", downloadProgressEventArgs.Step.Uri); DownloadProgress.ExecuteEvent(this, () => downloadProgressEventArgs); }
private static void crawler_DownloadProgress(object sender, DownloadProgressEventArgs e) { //arguments.DefaultOutput.Write("{0} - {1}\r".FormatWith(e.Step.Uri, e.PercentCompleted)); }