Class PasswordReset
Inheritance
PasswordReset
Assembly: DataWeb.Core.dll
Syntax
public class PasswordReset : IValidatableObject
Properties
Code
Declaration
public string Code { get; set; }
Property Value
Email
Declaration
[Required(ErrorMessage = "Account.Common.Email_Required")]
[StringLength(256, ErrorMessage = "Account.Common.Email_NotValid")]
[EmailAddress(ErrorMessage = "Account.Common.Email_NotValid")]
public string Email { get; set; }
Property Value
Password
Declaration
[Required(ErrorMessage = "Account.Common.Password_Required")]
[StringLength(100, MinimumLength = 8, ErrorMessage = "Account.Common.Password_Length")]
[RegularExpression("^[a-zA-Z0-9@_.\\!\\*\\-\\#\\$]*$", ErrorMessage = "Account.Common.Password_InvalidChars")]
public string Password { get; set; }
Property Value
PasswordCheck
Declaration
public string PasswordCheck { get; set; }
Property Value
Methods
Validate(ValidationContext)
Determines whether the specified object is valid.
Declaration
public virtual IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Returns
Implements