Partager via


ODataPathTemplate Class

 

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

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Routing.ODataPathTemplate

Syntax

public class ODataPathTemplate
public ref class ODataPathTemplate 
type ODataPathTemplate = class end
Public Class ODataPathTemplate

Constructors

Name Description
System_CAPS_pubmethod ODataPathTemplate(IList<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPath class.

System_CAPS_pubmethod ODataPathTemplate(ODataPathSegmentTemplate[])

Initializes a new instance of the ODataPathTemplate class.

Properties

Name Description
System_CAPS_pubproperty Segments

Gets the path segments for the OData path.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryMatch(ODataPath, IDictionary<String, Object>)

Matches the current template with an OData path.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Routing Namespace

Return to top