コード例 #1
0
ファイル: HtmlWindow.cs プロジェクト: swipswaps/WebSharp
        internal static async Task <HtmlWindow> Instance()
        {
            var proxy = new HtmlWindow();
            await proxy.Initialize();

            return(proxy);
        }
コード例 #2
0
 public static async Task <HtmlWindow> GetWindow()
 {
     if (htmlWindow == null)
     {
         htmlWindow = await HtmlWindow.Instance();
     }
     return(htmlWindow);
 }