Partilhar via


InlineConstraint Construtores

Definição

Sobrecargas

InlineConstraint(RoutePatternParameterPolicyReference)

Cria uma nova InlineConstraint instância com um RoutePatternParameterPolicyReference.

InlineConstraint(String)

Cria uma nova instância de InlineConstraint.

InlineConstraint(RoutePatternParameterPolicyReference)

Origem:
InlineConstraint.cs
Origem:
InlineConstraint.cs

Cria uma nova InlineConstraint instância com um 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)

Parâmetros

Aplica-se a

InlineConstraint(String)

Origem:
InlineConstraint.cs
Origem:
InlineConstraint.cs
Origem:
InlineConstraint.cs

Cria uma nova instância 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)

Parâmetros

constraint
String

O texto da restrição.

Aplica-se a