RangeRouteConstraint Class  
Definition
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.
Constraints a route parameter to be an integer within a given range of values.
public ref class RangeRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraintpublic class RangeRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraintpublic class RangeRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicytype RangeRouteConstraint = class
    interface IRouteConstrainttype RangeRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicytype RangeRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicytype RangeRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraintPublic Class RangeRouteConstraint
Implements IRouteConstraintPublic Class RangeRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint- Inheritance
- 
				RangeRouteConstraint
- Implements
Constructors
| RangeRouteConstraint(Int64, Int64) | Initializes a new instance of the RangeRouteConstraint class. | 
Properties
| Max | Gets the maximum allowed value of the route parameter. | 
| Min | Gets the minimum allowed value of the route parameter. | 
Methods
| Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) | Determines whether the URL parameter contains a valid value for this constraint. | 
Explicit Interface Implementations
| IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String) |