RazorComponentsEndpointRouteBuilderExtensions.MapRazorComponents<TRootComponent> 메서드

정의

지정된 에 정의된 페이지 구성 요소를 지정된 TRootComponent 어셈블리에 매핑하고 경로가 일치할 때 에 TRootComponent 지정된 구성 요소를 렌더링합니다.

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

형식 매개 변수

TRootComponent

매개 변수

반환

RazorComponentsEndpointConventionBuilder API를 추가로 구성하는 데 사용할 수 있는 입니다.

적용 대상