AlphaRouteConstraint 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.
Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.
public ref class AlphaRouteConstraint : Microsoft::AspNetCore::Routing::Constraints::RegexRouteConstraint
public class AlphaRouteConstraint : Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint
type AlphaRouteConstraint = class
inherit RegexRouteConstraint
Public Class AlphaRouteConstraint
Inherits RegexRouteConstraint
- Inheritance
Constructors
AlphaRouteConstraint() |
Initializes a new instance of the AlphaRouteConstraint 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) |