Share via


IODataPathHandler.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 Microsoft.AspNet.OData.Routing.ODataPath Parse (string serviceRoot, string odataPath, IServiceProvider requestContainer);
abstract member Parse : string * string * IServiceProvider -> Microsoft.AspNet.OData.Routing.ODataPath
Public 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 URI, or null if the URI does not match the model.

Applies to