コード例 #1
0
 public EmployerInfo()
 {
     CompanyName     = new CompanyName().Employer;
     EmployerAddress = new RandomAddress();
     WorkPhoneNumber = new PhoneNumber();
     PhoneNumber     = WorkPhoneNumber.Formatted();
     WorkEmail       = new EmailAddress(CompanyName).Email;
 }
コード例 #2
0
 public EmployerInfo(bool status)
 {
     if (status == false)
     {
         CompanyName     = string.Empty;
         EmployerAddress = null;
         WorkPhoneNumber = null;
         WorkEmail       = string.Empty;
         Position        = string.Empty;
     }
     else
     {
         CompanyName     = new CompanyName().Employer;
         EmployerAddress = new RandomAddress();
         WorkPhoneNumber = new PhoneNumber();
         PhoneNumber     = WorkPhoneNumber.Formatted();
         WorkEmail       = new EmailAddress(CompanyName).Email;
     }
 }