RazorComponentsEndpointRouteBuilderExtensions.MapRazorComponents<TRootComponent> Metoda

Definicja

Mapuje składniki strony zdefiniowane w określonym TRootComponent zestawie i renderuje składnik określony przez TRootComponent , gdy trasa jest zgodna.

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

Parametry typu

TRootComponent

Parametry

Zwraca

Element RazorComponentsEndpointConventionBuilder , który może służyć do dalszego konfigurowania interfejsu API.

Dotyczy