1 instantiation of HtmlRootComponent
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.cs (1)
77return new HtmlRootComponent(this, componentId, quiescenceTask);
33 references to HtmlRootComponent
Microsoft.AspNetCore.Components.Endpoints (4)
Rendering\EndpointHtmlRenderer.Prerendering.cs (4)
124var htmlRootComponent = await Dispatcher.InvokeAsync(() => BeginRenderingComponent(rootComponent, parameters)); 149var component = BeginRenderingComponent(rootComponentType, parameters); 327private readonly HtmlRootComponent? _htmlToEmitOrNull; 334HtmlRootComponent? htmlToEmitOrNull)
Microsoft.AspNetCore.Components.Web (29)
HtmlRendering\HtmlRenderer.cs (25)
46/// any asynchronous operations such as loading, await <see cref="HtmlRootComponent.QuiescenceTask"/> before 47/// reading content from the <see cref="HtmlRootComponent"/>. 50/// <returns>An <see cref="HtmlRootComponent"/> instance representing the render output.</returns> 51public HtmlRootComponent BeginRenderingComponent<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TComponent>() where TComponent : IComponent 57/// any asynchronous operations such as loading, await <see cref="HtmlRootComponent.QuiescenceTask"/> before 58/// reading content from the <see cref="HtmlRootComponent"/>. 62/// <returns>An <see cref="HtmlRootComponent"/> instance representing the render output.</returns> 63public HtmlRootComponent BeginRenderingComponent<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TComponent>( 70/// any asynchronous operations such as loading, await <see cref="HtmlRootComponent.QuiescenceTask"/> before 71/// reading content from the <see cref="HtmlRootComponent"/>. 74/// <returns>An <see cref="HtmlRootComponent"/> instance representing the render output.</returns> 75public HtmlRootComponent BeginRenderingComponent( 82/// any asynchronous operations such as loading, await <see cref="HtmlRootComponent.QuiescenceTask"/> before 83/// reading content from the <see cref="HtmlRootComponent"/>. 87/// <returns>An <see cref="HtmlRootComponent"/> instance representing the render output.</returns> 88public HtmlRootComponent BeginRenderingComponent( 98/// <returns>A task that completes with <see cref="HtmlRootComponent"/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns> 99public Task<HtmlRootComponent> RenderComponentAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TComponent>() where TComponent : IComponent 107/// <returns>A task that completes with <see cref="HtmlRootComponent"/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns> 108public Task<HtmlRootComponent> RenderComponentAsync( 118/// <returns>A task that completes with <see cref="HtmlRootComponent"/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns> 119public Task<HtmlRootComponent> RenderComponentAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TComponent>( 129/// <returns>A task that completes with <see cref="HtmlRootComponent"/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns> 130public async Task<HtmlRootComponent> RenderComponentAsync( 134var content = BeginRenderingComponent(componentType, parameters);
HtmlRendering\StaticHtmlRenderer.cs (4)
50/// <returns>An <see cref="HtmlRootComponent"/> that can be used to obtain the rendered HTML.</returns> 51public HtmlRootComponent BeginRenderingComponent( 64/// <returns>An <see cref="HtmlRootComponent"/> that can be used to obtain the rendered HTML.</returns> 65public HtmlRootComponent BeginRenderingComponent(