RegexInlineRouteConstraint Class
Definition
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
public class RegexInlineRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint
type RegexInlineRouteConstraint = class
inherit RegexRouteConstraint
Public Class RegexInlineRouteConstraint
Inherits RegexRouteConstraint
- Inheritance
Constructors
RegexInlineRouteConstraint(String) |
Initializes a new instance of the RegexInlineRouteConstraint class. |
Properties
Constraint |
Gets the regular expression used in the route constraint. (Inherited from RegexRouteConstraint) |
Methods
Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) |
Determines whether the URL parameter contains a valid value for this constraint. (Inherited from RegexRouteConstraint) |
Explicit Interface Implementations
IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String) | (Inherited from RegexRouteConstraint) |