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)
35internal PageContext CurrentPageContext => _currentPageContext; 101if (_currentPageContext != null) 105rootComponent.ComponentId = _currentPageContext.Renderer.AddRootComponent( 107return _currentPageContext.Renderer.RenderRootComponentAsync( 130if (_currentPageContext != null && rootComponent.ComponentId.HasValue) 132return Dispatcher.InvokeAsync(() => _currentPageContext.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value)); 161await _ipcReceiver.OnMessageReceivedAsync(_currentPageContext, message); 182var capturedCurrentPageContext = _currentPageContext; 191if (capturedCurrentPageContext != _currentPageContext) 198workItem(_currentPageContext.ServiceProvider); 221if (_currentPageContext != null) 223await _currentPageContext.DisposeAsync(); 235rootComponent.ComponentId = _currentPageContext.Renderer.AddRootComponent( 237pendingRenders.Add(_currentPageContext.Renderer.RenderRootComponentAsync( 264if (_currentPageContext != null) 266await _currentPageContext.DisposeAsync();