MinLengthRouteConstraint Class

 

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

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

System.Object
  System.Web.Mvc.Routing.Constraints.MinLengthRouteConstraint

public class MinLengthRouteConstraint : IRouteConstraint

NameDescription
System_CAPS_pubmethodMinLengthRouteConstraint(Int32)

Initializes a new instance of the MinLengthRouteConstraint class.

NameDescription
System_CAPS_pubpropertyMinLength

Gets the minimum length 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: