RegexInlineRouteConstraint Class¶
Represents a regex constraint which can be used as an inlineConstraint.
- Namespace
Microsoft.AspNetCore.Routing.Constraints- Assemblies
- Microsoft.AspNetCore.Routing
Syntax¶
public class RegexInlineRouteConstraint : RegexRouteConstraint, IRouteConstraint
-
class
Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraint
Constructors¶
-
RegexInlineRouteConstraint(System.String)¶ Initializes a new instance of the
Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraintclass.Arguments: regexPattern (System.String) – The regular expression pattern to match. public RegexInlineRouteConstraint(string regexPattern)
-