Ejemplo n.º 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(HttpMessageProgressEventHandler onProgress, object sender, HttpMessageProgressEventArgs e)
 {
     if (onProgress != null)
     {
         onProgress(sender, e);
     }
 }
		/// <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(HttpMessageProgressEventHandler onProgress, object sender, HttpMessageProgressEventArgs e)
		{			
			if (onProgress != null)
				onProgress(sender, e);			
		}