Condividi tramite


StaticHtmlRenderer.BeginRenderingComponent Metodo

Definizione

Overload

BeginRenderingComponent(IComponent, ParameterView)

Aggiunge un componente radice e inizia a eseguire il rendering.

BeginRenderingComponent(Type, ParameterView)

Aggiunge un componente radice del tipo specificato e inizia a eseguire il rendering.

BeginRenderingComponent(IComponent, ParameterView)

Origine:
StaticHtmlRenderer.cs
Origine:
StaticHtmlRenderer.cs

Aggiunge un componente radice e inizia a eseguire il rendering.

public Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent BeginRenderingComponent (Microsoft.AspNetCore.Components.IComponent component, Microsoft.AspNetCore.Components.ParameterView initialParameters);
member this.BeginRenderingComponent : Microsoft.AspNetCore.Components.IComponent * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.Web.HtmlRendering.HtmlRootComponent
Public Function BeginRenderingComponent (component As IComponent, initialParameters As ParameterView) As HtmlRootComponent

Parametri

component
IComponent

Istanza del componente radice di cui aggiungere e eseguire il rendering. Questa operazione non deve essere già associata ad alcun renderer.

initialParameters
ParameterView

Parametri per il componente.

Restituisce

Oggetto HtmlRootComponent che può essere utilizzato per ottenere il codice HTML di cui è stato eseguito il rendering.

Si applica a

BeginRenderingComponent(Type, ParameterView)

Origine:
StaticHtmlRenderer.cs
Origine:
StaticHtmlRenderer.cs

Aggiunge un componente radice del tipo specificato e inizia a eseguire il rendering.

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

Parametri

componentType
Type

Tipo di componente. Deve implementare IComponent.

initialParameters
ParameterView

Parametri per il componente.

Restituisce

Oggetto HtmlRootComponent che può essere utilizzato per ottenere il codice HTML di cui è stato eseguito il rendering.

Si applica a