RazorComponentsEndpointRouteBuilderExtensions.MapRazorComponents<TRootComponent> Método

Definição

Mapeia os componentes de página definidos no especificado TRootComponent para o assembly especificado e renderiza o componente especificado por TRootComponent quando a rota corresponde.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder MapRazorComponents<TRootComponent> (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapRazorComponents : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function MapRazorComponents(Of TRootComponent) (endpoints As IEndpointRouteBuilder) As RazorComponentsEndpointConventionBuilder

Parâmetros de tipo

TRootComponent

Parâmetros

Retornos

Um RazorComponentsEndpointConventionBuilder que pode ser usado para configurar ainda mais a API.

Aplica-se a