ODataPathTemplate Class

Definition

Represents a template for an ODataPath that can be matched to an actual ODataPath.

C#
public class ODataPathTemplate
Inheritance
ODataPathTemplate

Constructors

ODataPathTemplate(IEnumerable<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPathTemplate class.

ODataPathTemplate(IList<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPath class.

ODataPathTemplate(ODataPathSegmentTemplate[])

Initializes a new instance of the ODataPathTemplate class.

Properties

Segments

Gets the path segments for the OData path.

Methods

TryMatch(ODataPath, IDictionary<String,Object>)

Matches the current template with an OData path.

Applies to

Tuote Versiot
OData Web API ASP .NET 7.0, Core 7.0