RangeRouteConstraint Class

 

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

Namespace:   System.Web.Mvc.Routing.Constraints
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.Routing.Constraints.RangeRouteConstraint

public class RangeRouteConstraint : IRouteConstraint

NameDescription
System_CAPS_pubmethodRangeRouteConstraint(Int64, Int64)

Initializes a new instance of the RangeRouteConstraint class.

NameDescription
System_CAPS_pubpropertyMax

Gets the maximum value of the route parameter.

System_CAPS_pubpropertyMin

Gets the minimum value of the route parameter.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection)

Determines whether this instance equals a specified route.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: