Share via


TemplateSegment Class

Definition

Represents a segment of a route template.

public ref class TemplateSegment
public class TemplateSegment
type TemplateSegment = class
Public Class TemplateSegment
Inheritance
TemplateSegment

Constructors

TemplateSegment()

Constructs a new TemplateSegment instance.

TemplateSegment(RoutePatternPathSegment)

Constructs a new TemplateSegment instance given another RoutePatternPathSegment.

Properties

IsSimple

true if the segment contains a single entry.

Parts

Gets the list of individual parts in the template segment.

Methods

ToRoutePatternPathSegment()

Returns a RoutePatternPathSegment for the template segment.

Applies to