コード例 #1
0
ファイル: PersonalInformation.cs プロジェクト: Daskul/BIG
 public PersonalInformation(
     EmiratesId emiratesId,
     FullName fullName, 
     Gender gender,
     Email email,
     Mobile mobile,
     Address address,
     DateTime? dateOfBirth = null)
 {
     this.FullName = fullName;
     this.EmiratesId = emiratesId;
     this.Gender = gender;
     this.Mobile = mobile;
     this.Email = email;
     this.Address = address;
     this.DateOfBirth = dateOfBirth;
 }
コード例 #2
0
ファイル: Customer.cs プロジェクト: Daskul/BIG
 public Customer(Guid id, string firstName, string lastName, Mobile mobile, Email email)
     : this(id, firstName, lastName)
 {
     this.Mobile = mobile;
     this.Email = email;
 }