1 instantiation of HtmlRootComponent
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.cs (1)
77
return new
HtmlRootComponent
(this, componentId, quiescenceTask);
33 references to HtmlRootComponent
Microsoft.AspNetCore.Components.Endpoints (4)
Rendering\EndpointHtmlRenderer.Prerendering.cs (4)
124
var
htmlRootComponent = await Dispatcher.InvokeAsync(() => BeginRenderingComponent(rootComponent, parameters));
149
var
component = BeginRenderingComponent(rootComponentType, parameters);
327
private readonly
HtmlRootComponent
? _htmlToEmitOrNull;
334
HtmlRootComponent
? 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>
51
public
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>
63
public
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>
75
public
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>
88
public
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>
99
public 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>
108
public 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>
119
public 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>
130
public async Task<
HtmlRootComponent
> RenderComponentAsync(
134
var
content = BeginRenderingComponent(componentType, parameters);
HtmlRendering\StaticHtmlRenderer.cs (4)
50
/// <returns>An <see cref="
HtmlRootComponent
"/> that can be used to obtain the rendered HTML.</returns>
51
public
HtmlRootComponent
BeginRenderingComponent(
64
/// <returns>An <see cref="
HtmlRootComponent
"/> that can be used to obtain the rendered HTML.</returns>
65
public
HtmlRootComponent
BeginRenderingComponent(