1 write to _renderer
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeRouteViewTest.cs (1)
37
_renderer
= new TestRenderer(services);
26 references to _renderer
Microsoft.AspNetCore.Components.Authorization.Tests (26)
AuthorizeRouteViewTest.cs (26)
38
var componentFactory = new ComponentFactory(new DefaultComponentActivator(services),
_renderer
);
40
_authorizeRouteViewComponentId =
_renderer
.AssignRootComponentId(_authorizeRouteViewComponent);
54
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
61
var batch =
_renderer
.Batches.Single();
90
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
98
var batch =
_renderer
.Batches.Single();
129
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
136
var batch =
_renderer
.Batches.Single();
158
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
165
var batch =
_renderer
.Batches.Single();
185
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
193
var batch =
_renderer
.Batches.Single();
212
var firstRenderTask =
_renderer
.RenderRootComponentAsync(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
221
var batch =
_renderer
.Batches.Single();
234
batch =
_renderer
.Batches.Skip(1).Single();
256
var firstRenderTask =
_renderer
.RenderRootComponentAsync(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
265
var batch =
_renderer
.Batches.Single();
278
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
284
var batch =
_renderer
.Batches.Single();
307
var rootComponentId =
_renderer
.AssignRootComponentId(rootComponent);
310
_renderer
.RenderRootComponent(rootComponentId);
313
var batch =
_renderer
.Batches.Single();
336
_renderer
.RenderRootComponent(_authorizeRouteViewComponentId, ParameterView.FromDictionary(new Dictionary<string, object>
344
var render2Task =
_renderer
.Dispatcher.InvokeAsync(() => _authorizeRouteViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
351
Assert.Equal(2,
_renderer
.Batches.Count);
352
var batch2 =
_renderer
.Batches[1];