Share via


KeySegmentTemplate Class

Definition

Represents a template that can match a KeySegment.

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

Constructors

KeySegmentTemplate(KeySegment)

Initializes a new instance of the KeySegmentTemplate class.

Properties

ParameterMappings

Gets the dictionary representing the mappings from the key names in the segment to the key names in route data.

Segment

Gets or sets the key segment.

Methods

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Matches the template with an ODataPathSegment.

Applies to