1 write to _renderer
Microsoft.AspNetCore.Components.Tests (1)
Routing\RouterTest.cs (1)
29_renderer = new TestRenderer(serviceProvider);
22 references to _renderer
Microsoft.AspNetCore.Components.Tests (22)
Routing\RouterTest.cs (22)
30_renderer.ShouldHandleExceptions = true; 31_router = (Router)_renderer.InstantiateComponent<Router>(); 34_renderer.AssignRootComponentId(_router); 50await _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false)); 71_renderer.OnUpdateDisplay = (renderBatch) => 79var janTask = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false)); 80var febTask = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false)); 86Assert.Empty(_renderer.HandledExceptions); 107_renderer.OnUpdateDisplay = (renderBatch) => 119var jan = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false)); 120var feb = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false)); 160_renderer.OnUpdateDisplay = (renderBatch) => 172var jan = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false)); 173var feb = _renderer.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false)); 193await _renderer.Dispatcher.InvokeAsync(() => 197var renderedFrame = _renderer.Batches.First().ReferenceFrames.First(); 213_renderer.OnUpdateDisplay = (renderBatch) => 220await _renderer.Dispatcher.InvokeAsync(() => 239await _renderer.Dispatcher.InvokeAsync(() => 243var renderedFrame = _renderer.Batches.First().ReferenceFrames.First(); 259await _renderer.Dispatcher.InvokeAsync(() => 263var renderedFrame = _renderer.Batches.First().ReferenceFrames.First();