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);
50
await
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
71
_renderer
.OnUpdateDisplay = (renderBatch) =>
79
var janTask =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
80
var febTask =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
86
Assert.Empty(
_renderer
.HandledExceptions);
107
_renderer
.OnUpdateDisplay = (renderBatch) =>
119
var jan =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
120
var feb =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
160
_renderer
.OnUpdateDisplay = (renderBatch) =>
172
var jan =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
173
var feb =
_renderer
.Dispatcher.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
193
await
_renderer
.Dispatcher.InvokeAsync(() =>
197
var renderedFrame =
_renderer
.Batches.First().ReferenceFrames.First();
213
_renderer
.OnUpdateDisplay = (renderBatch) =>
220
await
_renderer
.Dispatcher.InvokeAsync(() =>
239
await
_renderer
.Dispatcher.InvokeAsync(() =>
243
var renderedFrame =
_renderer
.Batches.First().ReferenceFrames.First();
259
await
_renderer
.Dispatcher.InvokeAsync(() =>
263
var renderedFrame =
_renderer
.Batches.First().ReferenceFrames.First();