コード例 #1
0
        internal WebSharpHtmlEvent(WebSharpObject eventSource, string eventName)
        {
            Source    = eventSource;
            EventName = eventName;

            EventCallbackFunction = (async(evt) =>
            {
                Invoke(evt);
                return(null);
            });
        }
コード例 #2
0
ファイル: WebSharpEvent.cs プロジェクト: vzolotov/WebSharp
        internal WebSharpEvent(WebSharpObject eventSource, string eventName)
        {
            Source    = eventSource;
            EventName = eventName;

            EventCallbackFunction = (async(evt) =>
            {
                Invoke(new object[] { EventArgs.Empty });
                return(null);
            });
        }