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 конечных точек, связанных с действиями контроллера.

Применяется к