InlineConstraint 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
InlineConstraint(RoutePatternParameterPolicyReference) |
Creates a new InlineConstraint instance given a RoutePatternParameterPolicyReference. |
InlineConstraint(String) |
Creates a new instance of InlineConstraint. |
InlineConstraint(RoutePatternParameterPolicyReference)
- Source:
- InlineConstraint.cs
- Source:
- InlineConstraint.cs
Creates a new InlineConstraint instance given a RoutePatternParameterPolicyReference.
public:
InlineConstraint(Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^ other);
public InlineConstraint (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference other);
new Microsoft.AspNetCore.Routing.Template.InlineConstraint : Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference -> Microsoft.AspNetCore.Routing.Template.InlineConstraint
Public Sub New (other As RoutePatternParameterPolicyReference)
Parameters
A RoutePatternParameterPolicyReference instance.
Applies to
InlineConstraint(String)
- Source:
- InlineConstraint.cs
- Source:
- InlineConstraint.cs
- Source:
- InlineConstraint.cs
Creates a new instance of InlineConstraint.
public:
InlineConstraint(System::String ^ constraint);
public InlineConstraint (string constraint);
new Microsoft.AspNetCore.Routing.Template.InlineConstraint : string -> Microsoft.AspNetCore.Routing.Template.InlineConstraint
Public Sub New (constraint As String)
Parameters
- constraint
- String
The constraint text.