Jaa


IODataPathTemplateHandler.ParseTemplate(String, IServiceProvider) Method

Definition

Parses the specified OData path template as an ODataPathTemplate.

public Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate ParseTemplate (string odataPathTemplate, IServiceProvider requestContainer);
abstract member ParseTemplate : string * IServiceProvider -> Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate
Public Function ParseTemplate (odataPathTemplate As String, requestContainer As IServiceProvider) As ODataPathTemplate

Parameters

odataPathTemplate
String

The OData path template to parse.

requestContainer
IServiceProvider

The dependency injection container for the request.

Returns

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

Applies to