Sdílet prostřednictvím


RegexRouteConstraint Konstruktory

Definice

Přetížení

RegexRouteConstraint(String)

Konstruktor pro danou RegexRouteConstraint .regexPattern

RegexRouteConstraint(Regex)

Konstruktor pro danou RegexRouteConstraint .regex

RegexRouteConstraint(String)

Zdroj:
RegexRouteConstraint.cs
Zdroj:
RegexRouteConstraint.cs
Zdroj:
RegexRouteConstraint.cs

Konstruktor pro danou RegexRouteConstraint .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)

Parametry

regexPattern
String

Řetězec obsahující vzor regex.

Platí pro

RegexRouteConstraint(Regex)

Zdroj:
RegexRouteConstraint.cs
Zdroj:
RegexRouteConstraint.cs
Zdroj:
RegexRouteConstraint.cs

Konstruktor pro danou RegexRouteConstraint .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)

Parametry

regex
Regex

Instance Regex , která se má použít jako omezení.

Platí pro