RegexInlineRouteConstraint Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a regex constraint which can be used as an inlineConstraint.
public ref class RegexInlineRouteConstraint : Microsoft::AspNetCore::Routing::Constraints::RegexRouteConstraint
C#
public class RegexInlineRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint
type RegexInlineRouteConstraint = class
inherit RegexRouteConstraint
Public Class RegexInlineRouteConstraint
Inherits RegexRouteConstraint
- Inheritance
Regex |
Initializes a new instance of the RegexInlineRouteConstraint class. |
Constraint |
Gets the regular expression used in the route constraint. (Inherited from RegexRouteConstraint) |
Match(Http |
Determines whether the URL parameter contains a valid value for this constraint. (Inherited from RegexRouteConstraint) |
IParameter |
(Inherited from RegexRouteConstraint) |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |