다음을 통해 공유


ControllerEndpointRouteBuilderExtensions.MapControllers 메서드

정의

경로를 지정하지 않고 컨트롤러 작업에 IEndpointRouteBuilder 대한 엔드포인트를 에 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::ControllerActionEndpointConventionBuilder ^ MapControllers(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapControllers (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapControllers : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder
<Extension()>
Public Function MapControllers (endpoints As IEndpointRouteBuilder) As ControllerActionEndpointConventionBuilder

매개 변수

반환

ControllerActionEndpointConventionBuilder 컨트롤러 작업과 연결된 엔드포인트에 대한 입니다.

적용 대상