Language

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

Name Description
TypeSegmentTemplate(TypeSegment)

Initializes a new instance of the TypeSegmentTemplate class.

Properties

Name Description
Segment

Gets or sets the type cast segment.

Methods

Name Description
TryMatch(ODataPathSegment, IDictionary<String,Object>)

Matches the template with an ODataPathSegment.

Applies to