Microsoft.AspNet.Routing.Constraints Namespace

namespace Microsoft.AspNet.Routing.Constraints

Classes

class Microsoft.AspNet.Routing.Constraints.AlphaRouteConstraint
Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.
class Microsoft.AspNet.Routing.Constraints.BoolRouteConstraint
Constrains a route parameter to represent only Boolean values.
class Microsoft.AspNet.Routing.Constraints.DateTimeRouteConstraint
Constrains a route parameter to represent only System.DateTime values.
class Microsoft.AspNet.Routing.Constraints.DecimalRouteConstraint
Constrains a route parameter to represent only decimal values.
class Microsoft.AspNet.Routing.Constraints.DoubleRouteConstraint
Constrains a route parameter to represent only 64-bit floating-point values.
class Microsoft.AspNet.Routing.Constraints.FloatRouteConstraint
Constrains a route parameter to represent only 32-bit floating-point values.
class Microsoft.AspNet.Routing.Constraints.GuidRouteConstraint
Constrains a route parameter to represent only System.Guid values. Matches values specified in any of the five formats “N”, “D”, “B”, “P”, or “X”, supported by Guid.ToString(string) and Guid.ToString(String, IFormatProvider) methods.
class Microsoft.AspNet.Routing.Constraints.IntRouteConstraint
Constrains a route parameter to represent only 32-bit integer values.
class Microsoft.AspNet.Routing.Constraints.LengthRouteConstraint
Constrains a route parameter to be a string of a given length or within a given range of lengths.
class Microsoft.AspNet.Routing.Constraints.LongRouteConstraint
Constrains a route parameter to represent only 64-bit integer values.
class Microsoft.AspNet.Routing.Constraints.MaxLengthRouteConstraint
Constrains a route parameter to be a string with a maximum length.
class Microsoft.AspNet.Routing.Constraints.MaxRouteConstraint
Constrains a route parameter to be an integer with a maximum value.
class Microsoft.AspNet.Routing.Constraints.MinLengthRouteConstraint
Constrains a route parameter to be a string with a minimum length.
class Microsoft.AspNet.Routing.Constraints.MinRouteConstraint
Constrains a route parameter to be a long with a minimum value.
class Microsoft.AspNet.Routing.Constraints.OptionalRouteConstraint
Defines a constraint on an optional parameter. If the parameter is present, then it is constrained by InnerConstraint.
class Microsoft.AspNet.Routing.Constraints.RangeRouteConstraint
Constraints a route parameter to be an integer within a given range of values.
class Microsoft.AspNet.Routing.Constraints.RegexInlineRouteConstraint
Represents a regex constraint which can be used as an inlineConstraint.

class Microsoft.AspNet.Routing.Constraints.RegexRouteConstraint

class Microsoft.AspNet.Routing.Constraints.RequiredRouteConstraint
Constraints a route parameter that must have a value.