ControllerEndpointRouteBuilderExtensions.MapControllers(IEndpointRouteBuilder) メソッド

定義

ルートを指定せずに、コントローラーアクションのエンドポイントをに追加し 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

ControllerActionEndpointConventionBuilderコントローラーアクションに関連付けられているエンドポイントの。

適用対象