1 instantiation of BlazorWebViewHandler
Microsoft.AspNetCore.Components.WebView.Maui (1)
src\BlazorWebView\src\SharedSource\BlazorWebViewServiceCollectionExtensions.cs (1)
46
services.ConfigureMauiHandlers(static handlers => handlers.AddHandler<IBlazorWebView>(_ => new
BlazorWebViewHandler
()));
22 references to BlazorWebViewHandler
Microsoft.AspNetCore.Components.WebView.Maui (22)
BlazorWebView.cs (2)
77
return ((
BlazorWebViewHandler
)(Handler!)).CreateFileProvider(contentRootDir);
97
return await ((
BlazorWebViewHandler
)(Handler!)).TryDispatchAsync(workItem);
BlazorWebViewHandler.cs (7)
24
public static PropertyMapper<IBlazorWebView,
BlazorWebViewHandler
> BlazorWebViewMapper = new(ViewMapper)
31
/// Initializes a new instance of <see cref="
BlazorWebViewHandler
"/> with default mappings.
38
/// Initializes a new instance of <see cref="
BlazorWebViewHandler
"/> using the specified mappings.
50
/// <param name="handler">The <see cref="
BlazorWebViewHandler
"/>.</param>
52
public static void MapHostPage(
BlazorWebViewHandler
handler, IBlazorWebView webView)
63
/// <param name="handler">The <see cref="
BlazorWebViewHandler
"/>.</param>
65
public static void MapRootComponents(
BlazorWebViewHandler
handler, IBlazorWebView webView)
iOS\BlazorWebViewHandler.iOS.cs (4)
55
internal ILogger Logger => _logger ??= Services!.GetService<ILogger<
BlazorWebViewHandler
>>() ?? NullLogger<
BlazorWebViewHandler
>.Instance;
251
private readonly
BlazorWebViewHandler
_webViewHandler;
253
public SchemeHandler(
BlazorWebViewHandler
webViewHandler)
iOS\IOSWebViewManager.cs (9)
22
private readonly
BlazorWebViewHandler
_blazorMauiWebViewHandler;
30
/// <param name="blazorMauiWebViewHandler">The <see cref="
BlazorWebViewHandler
"/>.</param>
40
public IOSWebViewManager(
BlazorWebViewHandler
blazorMauiWebViewHandler, WKWebView webview, IServiceProvider provider, Dispatcher dispatcher, IFileProvider fileProvider, JSComponentConfigurationStore jsComponents, string contentRootRelativeToAppRoot, string hostPageRelativePath, ILogger logger)
41
: base(provider, dispatcher,
BlazorWebViewHandler
.AppOriginUri, fileProvider, jsComponents, hostPageRelativePath)
101
private readonly
BlazorWebViewHandler
_webView;
103
public WebViewUIDelegate(
BlazorWebViewHandler
webView)
207
private readonly
BlazorWebViewHandler
_webView;
212
public WebViewNavigationDelegate(
BlazorWebViewHandler
webView)
238
var callbackArgs = UrlLoadingEventArgs.CreateWithDefaultLoadingStrategy(uri,
BlazorWebViewHandler
.AppOriginUri);