Jaa


DefaultODataPathHandler.Parse(String, String, IServiceProvider) Method

Definition

Parses the specified OData path as an ODataPath that contains additional information about the EDM type and entity set for the path.

public virtual Microsoft.AspNet.OData.Routing.ODataPath Parse (string serviceRoot, string odataPath, IServiceProvider requestContainer);
abstract member Parse : string * string * IServiceProvider -> Microsoft.AspNet.OData.Routing.ODataPath
override this.Parse : string * string * IServiceProvider -> Microsoft.AspNet.OData.Routing.ODataPath
Public Overridable Function Parse (serviceRoot As String, odataPath As String, requestContainer As IServiceProvider) As ODataPath

Parameters

serviceRoot
String

The service root of the OData path.

odataPath
String

The OData path to parse.

requestContainer
IServiceProvider

The dependency injection container for the request.

Returns

A parsed representation of the path, or null if the path does not match the model.

Implements

Applies to