MinLengthRouteConstraint Class

Definition

Constrains a route parameter to be a string with a maximum length.

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

Constructors

MinLengthRouteConstraint(Int32)

Initializes a new instance of the MinLengthRouteConstraint class.

Properties

MinLength

Gets the minimum length of the route parameter.

Methods

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

Determines whether this instance equals a specified route.

Applies to