C# Класс ODataRestierDynamic.Models.DynamicODataActionSelector

Contains the logic for selecting an action method.
Наследование: IHttpActionSelector
Показать файл Открыть проект

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

Метод Описание
DynamicODataActionSelector ( IHttpActionSelector innerSelector ) : System

Initializes a new instance of the DynamicODataActionSelector class.

GetActionMapping ( HttpControllerDescriptor controllerDescriptor ) : HttpActionDescriptor>.ILookup

Returns a map, keyed by action string, of all System.Web.Http.Controllers.HttpActionDescriptor that the selector can select. This is primarily called by 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.

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

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

Initializes a new instance of the DynamicODataActionSelector class.
public DynamicODataActionSelector ( IHttpActionSelector innerSelector ) : System
innerSelector IHttpActionSelector The inner controller selector to call.
Результат System

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

Returns a map, keyed by action string, of all System.Web.Http.Controllers.HttpActionDescriptor that the selector can select. This is primarily called by 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