C# Class Hyper.Http.Controllers.SimpleHyperApiControllerActionSelector

SimpleHyperApiControllerActionSelector class.
Inheritance: DelegatingApiControllerActionSelector
Afficher le fichier Open project: tmitchel2/Hyper

Méthodes publiques

Méthode 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 méthode

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.
Résultat HttpActionDescriptor>.ILookup

SelectAction() public méthode

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.
Résultat HttpActionDescriptor

SimpleHyperApiControllerActionSelector() public méthode

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