1 write to _currentPageContext
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
226
_currentPageContext
= new PageContext(_dispatcher, serviceScope, _ipcSender, _jsComponents, baseUrl, startUrl);
15 references to _currentPageContext
Microsoft.AspNetCore.Components.WebView (15)
WebViewManager.cs (15)
99
if (
_currentPageContext
!= null)
103
rootComponent.ComponentId =
_currentPageContext
.Renderer.AddRootComponent(
105
return
_currentPageContext
.Renderer.RenderRootComponentAsync(
128
if (
_currentPageContext
!= null && rootComponent.ComponentId.HasValue)
130
return Dispatcher.InvokeAsync(() =>
_currentPageContext
.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value));
159
await _ipcReceiver.OnMessageReceivedAsync(
_currentPageContext
, message);
180
var capturedCurrentPageContext =
_currentPageContext
;
189
if (capturedCurrentPageContext !=
_currentPageContext
)
196
workItem(
_currentPageContext
.ServiceProvider);
219
if (
_currentPageContext
!= null)
221
await
_currentPageContext
.DisposeAsync();
233
rootComponent.ComponentId =
_currentPageContext
.Renderer.AddRootComponent(
235
pendingRenders.Add(
_currentPageContext
.Renderer.RenderRootComponentAsync(
262
if (
_currentPageContext
!= null)
264
await
_currentPageContext
.DisposeAsync();