Share via


HtmlRenderer.BeginRenderingComponent Method

Definition

Overloads

BeginRenderingComponent(Type)

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

BeginRenderingComponent(Type, ParameterView)

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

BeginRenderingComponent<TComponent>()

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

BeginRenderingComponent<TComponent>(ParameterView)

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

BeginRenderingComponent(Type)

Source:
HtmlRenderer.cs
Source:
HtmlRenderer.cs

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent (Type componentType);
member this.BeginRenderingComponent : Type -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent
Public Function BeginRenderingComponent (componentType As Type) As HtmlRootComponent

Parameters

componentType
Type

The component type. This must implement IComponent.

Returns

An HtmlRootComponent instance representing the render output.

Applies to

BeginRenderingComponent(Type, ParameterView)

Source:
HtmlRenderer.cs
Source:
HtmlRenderer.cs

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent (Type componentType, Microsoft.AspNetCore.Components.ParameterView parameters);
member this.BeginRenderingComponent : Type * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent
Public Function BeginRenderingComponent (componentType As Type, parameters As ParameterView) As HtmlRootComponent

Parameters

componentType
Type

The component type. This must implement IComponent.

parameters
ParameterView

Parameters for the component.

Returns

An HtmlRootComponent instance representing the render output.

Applies to

BeginRenderingComponent<TComponent>()

Source:
HtmlRenderer.cs
Source:
HtmlRenderer.cs

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent<TComponent> () where TComponent : Microsoft.AspNetCore.Components.IComponent;
member this.BeginRenderingComponent : unit -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Function BeginRenderingComponent(Of TComponent As IComponent) () As HtmlRootComponent

Type Parameters

TComponent

The component type.

Returns

An HtmlRootComponent instance representing the render output.

Applies to

BeginRenderingComponent<TComponent>(ParameterView)

Source:
HtmlRenderer.cs
Source:
HtmlRenderer.cs

Adds an instance of the specified component and instructs it to render. The resulting content represents the initial synchronous rendering output, which may later change. To wait for the component hierarchy to complete any asynchronous operations such as loading, await QuiescenceTask before reading content from the HtmlRootComponent.

public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent<TComponent> (Microsoft.AspNetCore.Components.ParameterView parameters) where TComponent : Microsoft.AspNetCore.Components.IComponent;
member this.BeginRenderingComponent : Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Function BeginRenderingComponent(Of TComponent As IComponent) (parameters As ParameterView) As HtmlRootComponent

Type Parameters

TComponent

The component type.

Parameters

parameters
ParameterView

Parameters for the component.

Returns

An HtmlRootComponent instance representing the render output.

Applies to