MinRouteConstraint Class

Definition

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

public ref class MinRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class MinRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class MinRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type MinRouteConstraint = class
    interface IRouteConstraint
type MinRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type MinRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type MinRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class MinRouteConstraint
Implements IRouteConstraint
Public Class MinRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Inheritance
MinRouteConstraint
Implements

Constructors

MinRouteConstraint(Int64)

Initializes a new instance of the MinRouteConstraint class.

Properties

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)

Applies to