RangeRouteConstraint Class

Definition

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

public class RangeRouteConstraint : System.Web.Routing.IRouteConstraint
type RangeRouteConstraint = class
    interface IRouteConstraint
Public Class RangeRouteConstraint
Implements IRouteConstraint
Inheritance
RangeRouteConstraint
Implements

Constructors

RangeRouteConstraint(Int64, Int64)

Initializes a new instance of the RangeRouteConstraint class.

Properties

Max

Gets the maximum value of the route parameter.

Min

Gets the minimum value of the route parameter.

Methods

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

Determines whether this instance equals a specified route.

Applies to