InlineConstraint Class¶
The parsed representation of an inline constraint in a route parameter.
- Namespace
Microsoft.AspNetCore.Routing.Template
- Assemblies
- Microsoft.AspNetCore.Routing
Constructors¶
-
InlineConstraint
(System.String)¶ Creates a new
Microsoft.AspNetCore.Routing.Template.InlineConstraint
.Arguments: constraint (System.String) – The constraint text. public InlineConstraint(string constraint)
-
Properties¶
-
Microsoft.AspNetCore.Routing.Template.InlineConstraint.
Constraint
¶ Gets the constraint text.
Return type: System.String public string Constraint { get; }
-