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)
99if (_currentPageContext != null) 103rootComponent.ComponentId = _currentPageContext.Renderer.AddRootComponent( 105return _currentPageContext.Renderer.RenderRootComponentAsync( 128if (_currentPageContext != null && rootComponent.ComponentId.HasValue) 130return Dispatcher.InvokeAsync(() => _currentPageContext.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value)); 159await _ipcReceiver.OnMessageReceivedAsync(_currentPageContext, message); 180var capturedCurrentPageContext = _currentPageContext; 189if (capturedCurrentPageContext != _currentPageContext) 196workItem(_currentPageContext.ServiceProvider); 219if (_currentPageContext != null) 221await _currentPageContext.DisposeAsync(); 233rootComponent.ComponentId = _currentPageContext.Renderer.AddRootComponent( 235pendingRenders.Add(_currentPageContext.Renderer.RenderRootComponentAsync( 262if (_currentPageContext != null) 264await _currentPageContext.DisposeAsync();