Partager via


InlineConstraint Constructeurs

Définition

Surcharges

InlineConstraint(RoutePatternParameterPolicyReference)

Crée un InlineConstraint instance donné un RoutePatternParameterPolicyReference.

InlineConstraint(String)

Crée une instance de InlineConstraint.

InlineConstraint(RoutePatternParameterPolicyReference)

Source:
InlineConstraint.cs
Source:
InlineConstraint.cs
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)

Paramètres

S’applique à

InlineConstraint(String)

Source:
InlineConstraint.cs
Source:
InlineConstraint.cs
Source:
InlineConstraint.cs

Crée une instance de 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)

Paramètres

constraint
String

Texte de contrainte.

S’applique à