C# 클래스 MDM.ServiceHost.WebApi.Infrastructure.Controllers.DynamicEntityControllerSelector

This is the service entry point controller where it dynamically determines from the request url which MDM entity is being requested and which type of action and then returns the details of the particular controller that should be invoked.
상속: System.Web.Http.Dispatcher.DefaultHttpControllerSelector
파일 보기 프로젝트 열기: RWE-Nexus/EnergyTrading-MDM

공개 메소드들

메소드 설명
DynamicEntityControllerSelector ( System.Web.Http.HttpConfiguration configuration ) : System
SelectController ( HttpRequestMessage request ) : HttpControllerDescriptor

보호된 메소드들

메소드 설명
DetermineContractType ( string contractName ) : Type
DetermineControllerVieRouteData ( HttpRequestMessage request ) : HttpControllerDescriptor
DetermineEntityType ( string entityName ) : Type
DetermineListContractType ( string contractName ) : Type
DetermineVersionedEntityName ( HttpRequestMessage request, string contractName ) : string
GetControllerTypeForRequest ( HttpRequestMessage request, Type contractType, Type entityType, Type listContractType ) : Type

메소드 상세

DetermineContractType() 보호된 메소드

protected DetermineContractType ( string contractName ) : Type
contractName string
리턴 System.Type

DetermineControllerVieRouteData() 보호된 메소드

protected DetermineControllerVieRouteData ( HttpRequestMessage request ) : HttpControllerDescriptor
request System.Net.Http.HttpRequestMessage
리턴 HttpControllerDescriptor

DetermineEntityType() 보호된 메소드

protected DetermineEntityType ( string entityName ) : Type
entityName string
리턴 System.Type

DetermineListContractType() 보호된 메소드

protected DetermineListContractType ( string contractName ) : Type
contractName string
리턴 System.Type

DetermineVersionedEntityName() 보호된 메소드

protected DetermineVersionedEntityName ( HttpRequestMessage request, string contractName ) : string
request System.Net.Http.HttpRequestMessage
contractName string
리턴 string

DynamicEntityControllerSelector() 공개 메소드

public DynamicEntityControllerSelector ( System.Web.Http.HttpConfiguration configuration ) : System
configuration System.Web.Http.HttpConfiguration
리턴 System

GetControllerTypeForRequest() 보호된 메소드

protected GetControllerTypeForRequest ( HttpRequestMessage request, Type contractType, Type entityType, Type listContractType ) : Type
request System.Net.Http.HttpRequestMessage
contractType System.Type
entityType System.Type
listContractType System.Type
리턴 System.Type

SelectController() 공개 메소드

public SelectController ( HttpRequestMessage request ) : HttpControllerDescriptor
request System.Net.Http.HttpRequestMessage
리턴 HttpControllerDescriptor