Class ResetPasswordViewModel
Inheritance
System.Object
ResetPasswordViewModel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mix.Identity.Models.AccountViewModels
Assembly: mix.identity.dll
Syntax
public class ResetPasswordViewModel
Properties
| Improve this Doc View SourceCode
Gets or sets the code.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The code. |
ConfirmPassword
Gets or sets the confirm password.
Declaration
[DataType(DataType.Password)]
[Display(Name = "Confirm password")]
[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
public string ConfirmPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | The confirm password. |
Gets or sets the email.
Declaration
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String | The email. |
Password
Gets or sets the password.
Declaration
[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
[DataType(DataType.Password)]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The password. |