System.Web.Mvc.Routing.Constraints Namespace
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.
Classes
AlphaRouteConstraint |
Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. |
BoolRouteConstraint |
Constrains a route parameter to represent only Boolean values. |
CompoundRouteConstraint |
Constrains a route by several child constraints. |
DateTimeRouteConstraint |
Constrains a route parameter to represent only DateTime values. |
DecimalRouteConstraint |
Constrains a route parameter to represent only decimal values. |
DoubleRouteConstraint |
Constrains a route parameter to represent only 64-bit floating-point values. |
FloatRouteConstraint |
Constrains a route parameter to represent only 32-bit floating-point values. |
GuidRouteConstraint |
Constrains a route parameter to represent only Guid values. |
IntRouteConstraint |
Constrains a route parameter to represent only 32-bit integer values. |
LengthRouteConstraint |
Constrains a route parameter to be a string of a given length or within a given range of lengths. |
LongRouteConstraint |
Constrains a route parameter to represent only 64-bit integer values. |
MaxLengthRouteConstraint |
Constrains a route parameter to be a string with a maximum length. |
MaxRouteConstraint |
Constrains a route parameter to be an integer with a maximum value. |
MinLengthRouteConstraint |
Constrains a route parameter to be a string with a maximum length. |
MinRouteConstraint |
Constrains a route parameter to be a long with a minimum value. |
OptionalRouteConstraint |
Constrains a route by an inner constraint that doesn't fail when an optional parameter is set to its default value. |
RangeRouteConstraint |
Constraints a route parameter to be an integer within a given range of values. |
RegexRouteConstraint |
Constrains a route parameter to match a regular expression. |