6 references to ServiceProvider
Microsoft.AspNetCore.Components.WebView (6)
PageContext.cs (5)
41
NavigationManager = (WebViewNavigationManager)
ServiceProvider
.GetRequiredService<NavigationManager>();
44
JSRuntime = (WebViewJSRuntime)
ServiceProvider
.GetRequiredService<IJSRuntime>();
47
var loggerFactory =
ServiceProvider
.GetRequiredService<ILoggerFactory>();
49
Renderer = new WebViewRenderer(
ServiceProvider
, dispatcher, ipcSender, loggerFactory, JSRuntime, jsComponents);
51
var webViewScrollToLocationHash = (WebViewScrollToLocationHash)
ServiceProvider
.GetRequiredService<IScrollToLocationHash>();
WebViewManager.cs (1)
196
workItem(_currentPageContext.
ServiceProvider
);