C# 클래스 Hyper.Http.Dispatcher.HyperHttpControllerSelector

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

공개 메소드들

메소드 설명
GetControllerMapping ( ) : HttpControllerDescriptor>.IDictionary

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

GetControllerName ( HttpRequestMessage request ) : string

Gets the name of the controller.

HyperHttpControllerSelector ( System.Web.Http.HttpConfiguration configuration ) : System

Initializes a new instance of the HyperHttpControllerSelector class.

SelectController ( HttpRequestMessage request ) : HttpControllerDescriptor

Selects a T:System.Web.Http.Controllers.HttpControllerDescriptor for the given T:System.Net.Http.HttpRequestMessage.

비공개 메소드들

메소드 설명
InitializeControllerInfoCache ( ) : HttpControllerDescriptor>.ConcurrentDictionary

Initializes the controller info cache.

메소드 상세

GetControllerMapping() 공개 메소드

Returns a map, keyed by controller string, of all T:System.Web.Http.Controllers.HttpControllerDescriptor that the selector can select. This is primarily called by T:System.Web.Http.Description.IApiExplorer to discover all the possible controllers in the system.
public GetControllerMapping ( ) : HttpControllerDescriptor>.IDictionary
리턴 HttpControllerDescriptor>.IDictionary

GetControllerName() 공개 메소드

Gets the name of the controller.
public GetControllerName ( HttpRequestMessage request ) : string
request System.Net.Http.HttpRequestMessage The request.
리턴 string

HyperHttpControllerSelector() 공개 메소드

Initializes a new instance of the HyperHttpControllerSelector class.
public HyperHttpControllerSelector ( System.Web.Http.HttpConfiguration configuration ) : System
configuration System.Web.Http.HttpConfiguration The configuration.
리턴 System

SelectController() 공개 메소드

Selects a T:System.Web.Http.Controllers.HttpControllerDescriptor for the given T:System.Net.Http.HttpRequestMessage.
public SelectController ( HttpRequestMessage request ) : HttpControllerDescriptor
request System.Net.Http.HttpRequestMessage The request message.
리턴 HttpControllerDescriptor