Dreamine.Hybrid.Wpf 1.0.3
`AddDreamineHybridWpf()` 내부에서 `AddWpfBlazorWebView()` 호출 및
로딩중...
검색중...
일치하는것 없음
HybridWebViewHost.cs
이 파일의 문서화 페이지로 가기
2using Microsoft.Web.WebView2.Wpf;
3using System;
4using System.Threading.Tasks;
5
7{
16 public static class HybridWebViewHost
17 {
34 public static WebView2 CreateWebView()
35 {
36 return WebView2Initializer.CreateConfiguredWebView2();
37 }
38
79 public static Task ShowOfflineMessageAsync(WebView2 webView, string url)
80 {
81 if (webView is null)
82 {
83 throw new ArgumentNullException(nameof(webView));
84 }
85
86 return WebView2Initializer.ShowOfflineMessageAsync(webView, url);
87 }
88 }
89}
static Task ShowOfflineMessageAsync(WebView2 webView, string url)