/// <summary> /// /// </summary> /// <param name="e"></param> protected void OnUploading(HttpRequestUploadingEventArgs e) { var eh = this.Uploading; if (eh != null) { eh(this, e); } }
/// <summary> /// /// </summary> /// <param name="e"></param> protected void OnUploading(HttpRequestUploadingEventArgs e) { var eh = this.Uploading; if (eh != null) { if (this.BeginInvoke == null) { eh(this, e); } else { this.BeginInvoke(() => eh(this, e)); } } }
/// <summary> /// /// </summary> /// <param name="e"></param> protected void OnUploading(HttpRequestUploadingEventArgs e) { this.OnEventHandler(this.Uploading, e); }