NavigationSourceRoutingConvention.SelectController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.