示例#1
0
 public AccFacebook(AccIua accIua)
 {
     email     = accIua.Email;
     firstName = accIua.FirstName;
     lastName  = accIua.LastName;
     password  = accIua.Password;
     dateBirth = accIua.DateBirth;
     sex       = SexConverter.ConvertToSexIua(accIua.Sex);
 }
 public AccGoogle(AccIua accIua)
 {
     firstName  = accIua.FirstName;
     lastName   = accIua.LastName;
     login      = accIua.Login;
     domen      = "google.com";
     password   = accIua.Password;
     sex        = SexConverter.ConvertToSexIua(accIua.Sex);
     sexString  = accIua.Sex.ToString();
     email      = login + "@" + domen;
     dateBirth  = accIua.DateBirth;
     alterEmail = accIua.Email;
 }
 public Info GetFirstLastNameInfo(SexIua sex, string type = "namefamily")
 {
     return(GetFirstLastNameInfo(SexConverter.ConvertToSexIua(sex), type));
 }