Share via


NavigationSourceRoutingConvention.SelectController Method

Definition

Selects the controller for OData requests.

public virtual string SelectController (Microsoft.AspNet.OData.Routing.ODataPath odataPath, System.Net.Http.HttpRequestMessage request);
abstract member SelectController : Microsoft.AspNet.OData.Routing.ODataPath * System.Net.Http.HttpRequestMessage -> string
override this.SelectController : Microsoft.AspNet.OData.Routing.ODataPath * System.Net.Http.HttpRequestMessage -> string
Public Overridable Function SelectController (odataPath As ODataPath, request As HttpRequestMessage) As String

Parameters

odataPath
ODataPath

The OData path.

request
HttpRequestMessage

The request.

Returns

null if the request isn't handled by this convention; otherwise, the name of the selected controller

Implements

Remarks

This signature uses types that are AspNet-specific.

Applies to