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