TemplateSegment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- other
- RoutePatternPathSegment
A RoutePatternPathSegment instance.