Compartir a través de


RegexRouteConstraint Constructores

Definición

Sobrecargas

RegexRouteConstraint(String)

Constructor para un determinado RegexRouteConstraint objeto regexPattern.

RegexRouteConstraint(Regex)

Constructor para un determinado RegexRouteConstraint objeto regex.

RegexRouteConstraint(String)

Source:
RegexRouteConstraint.cs
Source:
RegexRouteConstraint.cs
Source:
RegexRouteConstraint.cs

Constructor para un determinado RegexRouteConstraint objeto 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)

Parámetros

regexPattern
String

Cadena que contiene el patrón regex.

Se aplica a

RegexRouteConstraint(Regex)

Source:
RegexRouteConstraint.cs
Source:
RegexRouteConstraint.cs
Source:
RegexRouteConstraint.cs

Constructor para un determinado RegexRouteConstraint objeto 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)

Parámetros

regex
Regex

Instancia Regex de que se va a usar como restricción.

Se aplica a