Condividi tramite


RegexRouteConstraint Costruttori

Definizione

Overload

RegexRouteConstraint(String)

Costruttore per un RegexRouteConstraint oggetto specificato.regexPattern

RegexRouteConstraint(Regex)

Costruttore per un RegexRouteConstraint oggetto specificato.regex

RegexRouteConstraint(String)

Origine:
RegexRouteConstraint.cs
Origine:
RegexRouteConstraint.cs
Origine:
RegexRouteConstraint.cs

Costruttore per un RegexRouteConstraint oggetto specificato.regexPattern

public:
 RegexRouteConstraint(System::String ^ regexPattern);
public RegexRouteConstraint (string regexPattern);
new Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint : string -> Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint
Public Sub New (regexPattern As String)

Parametri

regexPattern
String

Stringa contenente il criterio regex.

Si applica a

RegexRouteConstraint(Regex)

Origine:
RegexRouteConstraint.cs
Origine:
RegexRouteConstraint.cs
Origine:
RegexRouteConstraint.cs

Costruttore per un RegexRouteConstraint oggetto specificato.regex

public:
 RegexRouteConstraint(System::Text::RegularExpressions::Regex ^ regex);
public RegexRouteConstraint (System.Text.RegularExpressions.Regex regex);
new Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint : System.Text.RegularExpressions.Regex -> Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint
Public Sub New (regex As Regex)

Parametri

regex
Regex

Regex Istanza da usare come vincolo.

Si applica a