1 write to _currentPageContext
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
228
_currentPageContext
= new PageContext(_dispatcher, serviceScope, _ipcSender, _jsComponents, baseUrl, startUrl);
16 references to _currentPageContext
Microsoft.AspNetCore.Components.WebView (16)
WebViewManager.cs (16)
35
internal PageContext CurrentPageContext =>
_currentPageContext
;
101
if (
_currentPageContext
!= null)
105
rootComponent.ComponentId =
_currentPageContext
.Renderer.AddRootComponent(
107
return
_currentPageContext
.Renderer.RenderRootComponentAsync(
130
if (
_currentPageContext
!= null && rootComponent.ComponentId.HasValue)
132
return Dispatcher.InvokeAsync(() =>
_currentPageContext
.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value));
161
await _ipcReceiver.OnMessageReceivedAsync(
_currentPageContext
, message);
182
var capturedCurrentPageContext =
_currentPageContext
;
191
if (capturedCurrentPageContext !=
_currentPageContext
)
198
workItem(
_currentPageContext
.ServiceProvider);
221
if (
_currentPageContext
!= null)
223
await
_currentPageContext
.DisposeAsync();
235
rootComponent.ComponentId =
_currentPageContext
.Renderer.AddRootComponent(
237
pendingRenders.Add(
_currentPageContext
.Renderer.RenderRootComponentAsync(
264
if (
_currentPageContext
!= null)
266
await
_currentPageContext
.DisposeAsync();