C# Класс Hyper.Http.Controllers.SimpleHyperApiControllerActionSelector

SimpleHyperApiControllerActionSelector class.
Наследование: DelegatingApiControllerActionSelector
Показать файл Открыть проект

Открытые методы

Метод Описание
GetActionMapping ( HttpControllerDescriptor controllerDescriptor ) : HttpActionDescriptor>.ILookup

Returns a map, keyed by action string, of all T:System.Web.Http.Controllers.HttpActionDescriptor that the selector can select. This is primarily called by T:System.Web.Http.Description.IApiExplorer to discover all the possible actions in the controller.

SelectAction ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : HttpActionDescriptor

Selects the action for the controller.

SimpleHyperApiControllerActionSelector ( HyperHttpSelfHostConfiguration configuration ) : System

Initializes a new instance of the SimpleHyperApiControllerActionSelector class.

Описание методов

GetActionMapping() публичный Метод

Returns a map, keyed by action string, of all T:System.Web.Http.Controllers.HttpActionDescriptor that the selector can select. This is primarily called by T:System.Web.Http.Description.IApiExplorer to discover all the possible actions in the controller.
public GetActionMapping ( HttpControllerDescriptor controllerDescriptor ) : HttpActionDescriptor>.ILookup
controllerDescriptor HttpControllerDescriptor The controller descriptor.
Результат HttpActionDescriptor>.ILookup

SelectAction() публичный Метод

Selects the action for the controller.
public SelectAction ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : HttpActionDescriptor
controllerContext System.Web.Http.Controllers.HttpControllerContext The context of the controller.
Результат HttpActionDescriptor

SimpleHyperApiControllerActionSelector() публичный Метод

Initializes a new instance of the SimpleHyperApiControllerActionSelector class.
public SimpleHyperApiControllerActionSelector ( HyperHttpSelfHostConfiguration configuration ) : System
configuration Hyper.Http.SelfHost.HyperHttpSelfHostConfiguration The configuration.
Результат System