Compartilhar via


RazorComponentResult Construtores

Definição

Sobrecargas

RazorComponentResult(Type)

Constrói uma instância de RazorComponentResult.

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

Constrói uma instância de RazorComponentResult.

RazorComponentResult(Type, Object)

Constrói uma instância de RazorComponentResult.

RazorComponentResult(Type)

Origem:
RazorComponentResult.cs

Constrói uma instância de RazorComponentResult.

public RazorComponentResult (Type componentType);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type)

Parâmetros

componentType
Type

O tipo do componente a ser renderizado. Isso deve implementar IComponent.

Aplica-se a

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

Origem:
RazorComponentResult.cs

Constrói uma instância de RazorComponentResult.

public RazorComponentResult (Type componentType, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As IReadOnlyDictionary(Of String, Object))

Parâmetros

componentType
Type

O tipo do componente a ser renderizado. Isso deve implementar IComponent.

parameters
IReadOnlyDictionary<String,Object>

Parâmetros para o componente.

Aplica-se a

RazorComponentResult(Type, Object)

Origem:
RazorComponentResult.cs

Constrói uma instância de RazorComponentResult.

public RazorComponentResult (Type componentType, object parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * obj -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As Object)

Parâmetros

componentType
Type

O tipo do componente a ser renderizado. Isso deve implementar IComponent.

parameters
Object

Parâmetros para o componente.

Aplica-se a