// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Routing.Constraints { /// /// Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. /// public class AlphaRouteConstraint : RegexRouteConstraint { /// /// Initializes a new instance of the class. /// public AlphaRouteConstraint() : base(@"^[a-z]*$") { } } }