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 | |
---|---|---|
MinimumLengthValidator | Constructor |
Top
Properties
Name | Description | |
---|---|---|
RequiredLength | Minimum required length for the string entity |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
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.