DataWeb
Search Results for

    Show / Hide Table of Contents

    Class PasswordReset

    Inheritance
    object
    PasswordReset
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Identity
    Assembly: DataWeb.Core.dll
    Syntax
    public class PasswordReset : IValidatableObject

    Properties

    Code

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

    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
    Type Description
    string

    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
    Type Description
    string

    PasswordCheck

    Declaration
    public string PasswordCheck { get; set; }
    Property Value
    Type Description
    string

    Methods

    Validate(ValidationContext)

    Determines whether the specified object is valid.

    Declaration
    public virtual IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    The validation context.

    Returns
    Type Description
    IEnumerable<ValidationResult>

    A collection that holds failed-validation information.

    Implements

    IValidatableObject
    In this article
    Back to top Generated by DocFX