Share via


SingletonSegmentTemplate Class

Definition

Represents a template that can match a SingletonSegment.

public class SingletonSegmentTemplate : Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
type SingletonSegmentTemplate = class
    inherit ODataPathSegmentTemplate
Public Class SingletonSegmentTemplate
Inherits ODataPathSegmentTemplate
Inheritance
SingletonSegmentTemplate

Constructors

SingletonSegmentTemplate(SingletonSegment)

Initializes a new instance of the SingletonSegmentTemplate class.

Properties

Segment

Gets or sets the singleton segment.

Methods

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Matches the template with an ODataPathSegment.

Applies to