コード例 #1
0
 /// <summary>
 /// Notifies the callback method of our progress while reading in the message
 /// </summary>
 /// <param name="onProgress"></param>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected virtual void OnProgress(EventHandler <HttpMessageProgressEventArgs> onProgress, object sender, HttpMessageProgressEventArgs e)
 {
     if (onProgress != null)
     {
         onProgress(sender, e);
     }
 }
コード例 #2
0
		/// <summary>
		/// Notifies the callback method of our progress while reading in the message
		/// </summary>
		/// <param name="onProgress"></param>
		/// <param name="sender"></param>
		/// <param name="e"></param>
        protected virtual void OnProgress(EventHandler<HttpMessageProgressEventArgs> onProgress, object sender, HttpMessageProgressEventArgs e)
		{
			if (onProgress != null)
				onProgress(sender, e);
		}