String ICallbackEventHandler.GetCallbackResult() { CallbackEventArgs args = new CallbackEventArgs(this.Context.Items["Data"].ToString()); this.OnCallback(args); return (args.Result); }
protected virtual void OnCallback(CallbackEventArgs args) { EventHandler<CallbackEventArgs> handler = this.Callback; if (handler != null) { handler(this, args); } }