Jaa


ODataPathRouteConstraint.SelectControllerName Method

Definition

Selects the name of the controller to dispatch the request to.

protected virtual string SelectControllerName (Microsoft.AspNet.OData.Routing.ODataPath path, System.Net.Http.HttpRequestMessage request);
abstract member SelectControllerName : Microsoft.AspNet.OData.Routing.ODataPath * System.Net.Http.HttpRequestMessage -> string
override this.SelectControllerName : Microsoft.AspNet.OData.Routing.ODataPath * System.Net.Http.HttpRequestMessage -> string
Protected Overridable Function SelectControllerName (path As ODataPath, request As HttpRequestMessage) As String

Parameters

path
ODataPath

The OData path of the request.

request
HttpRequestMessage

The request.

Returns

The name of the controller to dispatch to, or null if one cannot be resolved.

Remarks

This signature uses types that are AspNet-specific.

Applies to