Show / Hide Table of Contents

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 Source

Code

Gets or sets the code.

Declaration
public string Code { get; set; }
Property Value
Type Description
System.String

The code.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Email

Gets or sets the email.

Declaration
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
Type Description
System.String

The email.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾