AssessmentAnywhere.Services.Users.User.User C# (CSharp) Method

User() public method

public User ( string username, string password, string emailAddress ) : System
username string
password string
emailAddress string
return System
        public User(string username, string password, string emailAddress)
        {
            // Validate email address
            // ReSharper disable ObjectCreationAsStatement
            new MailAddress(emailAddress);
            // ReSharper restore ObjectCreationAsStatement
            this.username = username;
            this.password = password;
            this.EmailAddress = emailAddress;
            this.isEmailAddressValidated = false;
        }