Share via


TypeSegmentTemplate Class

Definition

Represents a template that can match a TypeSegment.

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

Constructors

TypeSegmentTemplate(TypeSegment)

Initializes a new instance of the TypeSegmentTemplate class.

Properties

Segment

Gets or sets the type cast segment.

Methods

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Matches the template with an ODataPathSegment.

Applies to