internal WebSharpHtmlEvent(WebSharpObject eventSource, string eventName) { Source = eventSource; EventName = eventName; EventCallbackFunction = (async(evt) => { Invoke(evt); return(null); }); }
internal WebSharpEvent(WebSharpObject eventSource, string eventName) { Source = eventSource; EventName = eventName; EventCallbackFunction = (async(evt) => { Invoke(new object[] { EventArgs.Empty }); return(null); }); }