Share via


System.Web.Http.Routing.Constraints Namespace

 

Classes

Class Description
System_CAPS_pubclass AlphaRouteConstraint

Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.

System_CAPS_pubclass BoolRouteConstraint

Constrains a route parameter to represent only Boolean values.

System_CAPS_pubclass CompoundRouteConstraint

Constrains a route by several child constraints.

System_CAPS_pubclass DateTimeRouteConstraint

Constrains a route parameter to represent only DateTime values.

System_CAPS_pubclass DecimalRouteConstraint

Constrains a route parameter to represent only decimal values.

System_CAPS_pubclass DoubleRouteConstraint

Constrains a route parameter to represent only 64-bit floating-point values.

System_CAPS_pubclass FloatRouteConstraint

Constrains a route parameter to represent only 32-bit floating-point values.

System_CAPS_pubclass GuidRouteConstraint

Constrains a route parameter to represent only Guid values.

System_CAPS_pubclass IntRouteConstraint

Constrains a route parameter to represent only 32-bit integer values.

System_CAPS_pubclass LengthRouteConstraint

Constrains a route parameter to be a string of a given length or within a given range of lengths.

System_CAPS_pubclass LongRouteConstraint

Constrains a route parameter to represent only 64-bit integer values.

System_CAPS_pubclass MaxLengthRouteConstraint

Constrains a route parameter to be a string with a maximum length.

System_CAPS_pubclass MaxRouteConstraint

Constrains a route parameter to be an integer with a maximum value.

System_CAPS_pubclass MinLengthRouteConstraint

Constrains a route parameter to be a string with a maximum length.

System_CAPS_pubclass MinRouteConstraint

Constrains a route parameter to be a long with a minimum value.

System_CAPS_pubclass OptionalRouteConstraint

Constrains a route by an inner constraint that doesn't fail when an optional parameter is set to its default value.

System_CAPS_pubclass RangeRouteConstraint

Constraints a route parameter to be an integer within a given range of values.

System_CAPS_pubclass RegexRouteConstraint

Constrains a route parameter to match a regular expression.

Return to top