コード例 #1
0
		String ICallbackEventHandler.GetCallbackResult()
		{
			var args = new UploadEventArgs(this.Context.Request.Files, this.Context.Request.Form);

			this.OnUpload(args);

			return (args.Response);
		}
コード例 #2
0
		protected virtual void OnUpload(UploadEventArgs e)
		{
			var handler = this.Upload;

			if (handler != null)
			{
				handler(this, e);
			}
		}