23 references to RenderRootComponentAsync
Microsoft.AspNetCore.Components.Tests (23)
ComponentBaseTest.cs (13)
163
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
200
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
242
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
276
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
294
renderTask = renderer.
RenderRootComponentAsync
(componentId);
321
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
342
renderTask = renderer.
RenderRootComponentAsync
(componentId);
368
await renderer.
RenderRootComponentAsync
(componentId);
386
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
412
var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.
RenderRootComponentAsync
(componentId));
428
var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.
RenderRootComponentAsync
(componentId));
444
var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.
RenderRootComponentAsync
(componentId));
460
var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.
RenderRootComponentAsync
(componentId));
RendererTest.cs (10)
185
var renderTask = renderer.Dispatcher.InvokeAsync(() => renderer.
RenderRootComponentAsync
(componentId));
324
var renderTask1 = renderer.Dispatcher.InvokeAsync(() => renderer.
RenderRootComponentAsync
(component1Id));
331
var renderTask2 = renderer.Dispatcher.InvokeAsync(() => renderer.
RenderRootComponentAsync
(component2Id));
379
var renderTask = renderer.Dispatcher.InvokeAsync(() => renderer.
RenderRootComponentAsync
(componentId.Value));
3718
await renderer.
RenderRootComponentAsync
(componentId); // Not throwing on first render
3973
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
4013
var renderTask = renderer.
RenderRootComponentAsync
(componentId);
4450
renderer.
RenderRootComponentAsync
(rootComponentId);
4483
await renderer.
RenderRootComponentAsync
(rootComponentId);
4537
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => renderer.
RenderRootComponentAsync
(rootComponentId));