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