@@ -40,24 +40,24 @@ public ValueTask DisposeAsync()
40
40
/// <summary>
41
41
/// Adds an instance of the specified component and instructs it to render. The resulting content represents the
42
42
/// initial synchronous rendering state, which may later change. To wait for the component hierarchy to complete
43
- /// any asynchronous operations such as loading, use <see cref="HtmlContent .WaitForQuiescenceAsync"/> before
44
- /// reading content from the <see cref="HtmlContent "/>.
43
+ /// any asynchronous operations such as loading, use <see cref="HtmlComponent .WaitForQuiescenceAsync"/> before
44
+ /// reading content from the <see cref="HtmlComponent "/>.
45
45
/// </summary>
46
46
/// <typeparam name="TComponent">The component type.</typeparam>
47
- /// <returns>A task that completes with <see cref="HtmlContent "/> instance representing the render output.</returns>
48
- public HtmlContent BeginRenderingComponent < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > ( ) where TComponent : IComponent
47
+ /// <returns>A task that completes with <see cref="HtmlComponent "/> instance representing the render output.</returns>
48
+ public HtmlComponent BeginRenderingComponent < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > ( ) where TComponent : IComponent
49
49
=> BeginRenderingComponent < TComponent > ( ParameterView . Empty ) ;
50
50
51
51
/// <summary>
52
52
/// Adds an instance of the specified component and instructs it to render. The resulting content represents the
53
53
/// initial synchronous rendering state, which may later change. To wait for the component hierarchy to complete
54
- /// any asynchronous operations such as loading, use <see cref="HtmlContent .WaitForQuiescenceAsync"/> before
55
- /// reading content from the <see cref="HtmlContent "/>.
54
+ /// any asynchronous operations such as loading, use <see cref="HtmlComponent .WaitForQuiescenceAsync"/> before
55
+ /// reading content from the <see cref="HtmlComponent "/>.
56
56
/// </summary>
57
57
/// <typeparam name="TComponent">The component type.</typeparam>
58
58
/// <param name="parameters">Parameters for the component.</param>
59
- /// <returns>A task that completes with <see cref="HtmlContent "/> instance representing the render output.</returns>
60
- public HtmlContent BeginRenderingComponent < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > (
59
+ /// <returns>A task that completes with <see cref="HtmlComponent "/> instance representing the render output.</returns>
60
+ public HtmlComponent BeginRenderingComponent < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > (
61
61
ParameterView parameters ) where TComponent : IComponent
62
62
=> _passiveHtmlRenderer . BeginRenderingComponentAsync ( typeof ( TComponent ) , parameters ) ;
63
63
@@ -66,8 +66,8 @@ public ValueTask DisposeAsync()
66
66
/// for the component hierarchy to complete asynchronous tasks such as loading.
67
67
/// </summary>
68
68
/// <typeparam name="TComponent">The component type.</typeparam>
69
- /// <returns>A task that completes with <see cref="HtmlContent "/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns>
70
- public Task < HtmlContent > RenderComponentAsync < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > ( ) where TComponent : IComponent
69
+ /// <returns>A task that completes with <see cref="HtmlComponent "/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns>
70
+ public Task < HtmlComponent > RenderComponentAsync < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > ( ) where TComponent : IComponent
71
71
=> RenderComponentAsync < TComponent > ( ParameterView . Empty ) ;
72
72
73
73
/// <summary>
@@ -76,8 +76,8 @@ public ValueTask DisposeAsync()
76
76
/// </summary>
77
77
/// <typeparam name="TComponent">The component type.</typeparam>
78
78
/// <param name="parameters">Parameters for the component.</param>
79
- /// <returns>A task that completes with <see cref="HtmlContent "/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns>
80
- public async Task < HtmlContent > RenderComponentAsync < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > (
79
+ /// <returns>A task that completes with <see cref="HtmlComponent "/> once the component hierarchy has completed any asynchronous tasks such as loading.</returns>
80
+ public async Task < HtmlComponent > RenderComponentAsync < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] TComponent > (
81
81
ParameterView parameters ) where TComponent : IComponent
82
82
{
83
83
var content = BeginRenderingComponent < TComponent > ( parameters ) ;
0 commit comments