MinimumLengthValidator Class

Used to validate that strings are a minimum length

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.MinimumLengthValidator

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Class MinimumLengthValidator _
    Implements IIdentityValidator(Of String)
'Usage
Dim instance As MinimumLengthValidator
public class MinimumLengthValidator : IIdentityValidator<string>
public ref class MinimumLengthValidator : IIdentityValidator<String^>
type MinimumLengthValidator =  
    class 
        interface IIdentityValidator<string>
    end
public class MinimumLengthValidator implements IIdentityValidator<String>

The MinimumLengthValidator type exposes the following members.

Constructors

  Name Description
Public method MinimumLengthValidator Constructor

Top

Properties

  Name Description
Public property RequiredLength Minimum required length for the string entity

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method ValidateAsync Ensures that the string is of the required length

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.Identity Namespace