Beispiel #1
0
        internal static async Task <HtmlWindow> Instance()
        {
            var proxy = new HtmlWindow();
            await proxy.Initialize();

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