Share via


ODataPathTemplate Constructors

Definition

Overloads

ODataPathTemplate(ODataPathSegmentTemplate[])

Initializes a new instance of the ODataPathTemplate class.

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.

public ODataPathTemplate (params Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate[] segments);
new Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate : Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate[] -> Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate
Public Sub New (ParamArray segments As ODataPathSegmentTemplate())

Parameters

segments
ODataPathSegmentTemplate[]

The path segment templates for the path.

Applies to

ODataPathTemplate(IEnumerable<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPathTemplate class.

public ODataPathTemplate (System.Collections.Generic.IEnumerable<Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate> segments);
new Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate : seq<Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate> -> Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate
Public Sub New (segments As IEnumerable(Of ODataPathSegmentTemplate))

Parameters

segments
IEnumerable<ODataPathSegmentTemplate>

The path segment templates for the path.

Applies to

ODataPathTemplate(IList<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPath class.

public ODataPathTemplate (System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate> segments);
new Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate : System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate> -> Microsoft.AspNet.OData.Routing.Template.ODataPathTemplate
Public Sub New (segments As IList(Of ODataPathSegmentTemplate))

Parameters

segments
IList<ODataPathSegmentTemplate>

The path segments for the path.

Applies to