IODataPathTemplateHandler.ParseTemplate(String, IServiceProvider) 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.
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.