Esempio n. 1
0
 public bool HasValidPassword()
 {
     return(!Check.ContainsInvalidChar(this.password) && this.password.Length >= 6);
 }
Esempio n. 2
0
 public bool HasValidSpecialty()
 {
     //Specialty should be a set of letters and white spaces only.
     return(Check.IsWord(this.specialty));
 }
Esempio n. 3
0
 public bool HasValidLogin()
 {
     return(!Check.ContainsInvalidChar(this.login) && !Check.ContainsSpecialCharacter(this.login));
 }
Esempio n. 4
0
 public bool HasValidAddress()
 {
     return(!Check.ContainsInvalidChar(this.address) && !Check.ContainsSpecialCharacter(this.address));
 }
Esempio n. 5
0
 public bool HasValidPhoneNumber()
 {
     return(Check.IsPhoneNumber(this.phoneNumber));
 }
Esempio n. 6
0
 public bool HasValidEmail()
 {
     return(Check.IsEmailAddress(this.email));
 }
Esempio n. 7
0
 public bool HasValidLastName()
 {
     return(Check.IsWord(this.lastName));
 }
Esempio n. 8
0
 public bool HasValidFirstName()
 {
     return(Check.IsWord(this.firstName));
 }