Share via


TemplateSegment Constructors

Definition

Overloads

TemplateSegment()

Constructs a new TemplateSegment instance.

TemplateSegment(RoutePatternPathSegment)

Constructs a new TemplateSegment instance given another RoutePatternPathSegment.

TemplateSegment()

Source:
TemplateSegment.cs
Source:
TemplateSegment.cs
Source:
TemplateSegment.cs

Constructs a new TemplateSegment instance.

public:
 TemplateSegment();
public TemplateSegment ();
Public Sub New ()

Applies to

TemplateSegment(RoutePatternPathSegment)

Source:
TemplateSegment.cs
Source:
TemplateSegment.cs

Constructs a new TemplateSegment instance given another RoutePatternPathSegment.

public:
 TemplateSegment(Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^ other);
public TemplateSegment (Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment other);
new Microsoft.AspNetCore.Routing.Template.TemplateSegment : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment -> Microsoft.AspNetCore.Routing.Template.TemplateSegment
Public Sub New (other As RoutePatternPathSegment)

Parameters

Applies to