C# Class Hyper.Http.Controllers.SimpleHyperApiControllerActionSelector

SimpleHyperApiControllerActionSelector class.
Inheritance: DelegatingApiControllerActionSelector
Mostra file Open project: tmitchel2/Hyper

Public Methods

Method Description
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.

Method Details

GetActionMapping() public method

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.
return HttpActionDescriptor>.ILookup

SelectAction() public method

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.
return HttpActionDescriptor

SimpleHyperApiControllerActionSelector() public method

Initializes a new instance of the SimpleHyperApiControllerActionSelector class.
public SimpleHyperApiControllerActionSelector ( HyperHttpSelfHostConfiguration configuration ) : System
configuration Hyper.Http.SelfHost.HyperHttpSelfHostConfiguration The configuration.
return System