1 write to _renderer
Microsoft.AspNetCore.Components.Tests (1)
RouteViewTest.cs (1)
24
_renderer
= new TestRenderer(services);
17 references to _renderer
Microsoft.AspNetCore.Components.Tests (17)
RouteViewTest.cs (17)
26
var componentFactory = new ComponentFactory(new DefaultComponentActivator(services),
_renderer
);
29
_routeViewComponentId =
_renderer
.AssignRootComponentId(_routeViewComponent);
55
_renderer
.Dispatcher.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
61
var batch =
_renderer
.Batches.Single();
62
var routeViewFrames =
_renderer
.GetCurrentRenderTreeFrames(_routeViewComponentId).AsEnumerable();
70
var layoutViewFrames =
_renderer
.GetCurrentRenderTreeFrames(layoutViewComponentId).AsEnumerable();
77
var testLayoutFrames =
_renderer
.GetCurrentRenderTreeFrames(testLayoutComponentId).AsEnumerable();
87
var pageFrames =
_renderer
.GetCurrentRenderTreeFrames(pageComponentId).AsEnumerable();
103
_renderer
.Dispatcher.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
111
var batch =
_renderer
.Batches.Single();
112
var routeViewFrames =
_renderer
.GetCurrentRenderTreeFrames(_routeViewComponentId).AsEnumerable();
127
_renderer
.Dispatcher.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
134
var batch =
_renderer
.Batches.Single();
135
var routeViewFrames =
_renderer
.GetCurrentRenderTreeFrames(_routeViewComponentId).AsEnumerable();
150
_renderer
.Dispatcher.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
158
var batch =
_renderer
.Batches.Single();
159
var routeViewFrames =
_renderer
.GetCurrentRenderTreeFrames(_routeViewComponentId).AsEnumerable();