C# 클래스 Hyper.Http.Controllers.SimpleHyperApiControllerActionSelector

SimpleHyperApiControllerActionSelector class.
상속: DelegatingApiControllerActionSelector
파일 보기 프로젝트 열기: tmitchel2/Hyper

공개 메소드들

메소드 설명
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