InlineConstraint Constructors

Definition

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

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.

Applies to