C# Class ODataRestierDynamic.DynamicFactory.MediadataRoutingConvention

A media data routing convention.
Inheritance: IODataRoutingConvention
Mostrar archivo Open project: arcelormittalkriviyrih/odata_unified_svc

Public Methods

Method Description
MediadataRoutingConvention ( ) : System

Default constructor.

SelectAction ( System.Web.OData.Routing.ODataPath odataPath, System.Web.Http.Controllers.HttpControllerContext controllerContext, HttpActionDescriptor>.ILookup actionMap ) : string

Selects the appropriate action based on the parsed OData URI.

SelectController ( System.Web.OData.Routing.ODataPath odataPath, HttpRequestMessage request ) : string

Selects OData controller based on parsed OData URI

Private Methods

Method Description
IsMediadataPath ( System.Web.OData.Routing.ODataPath odataPath ) : bool

Query if 'odataPath' is mediadata path.

Method Details

MediadataRoutingConvention() public method

Default constructor.
public MediadataRoutingConvention ( ) : System
return System

SelectAction() public method

Selects the appropriate action based on the parsed OData URI.
public SelectAction ( System.Web.OData.Routing.ODataPath odataPath, System.Web.Http.Controllers.HttpControllerContext controllerContext, HttpActionDescriptor>.ILookup actionMap ) : string
odataPath System.Web.OData.Routing.ODataPath Parsed OData URI
controllerContext System.Web.Http.Controllers.HttpControllerContext Context for HttpController
actionMap HttpActionDescriptor>.ILookup Mapping from action names to HttpActions
return string

SelectController() public method

Selects OData controller based on parsed OData URI
public SelectController ( System.Web.OData.Routing.ODataPath odataPath, HttpRequestMessage request ) : string
odataPath System.Web.OData.Routing.ODataPath Parsed OData URI
request System.Net.Http.HttpRequestMessage Incoming HttpRequest
return string