예제 #1
0
 public IndividualParty(PartyId id, string firstname, string lastname,
                        string ssn, IEventPublisher publisher) : base(id, publisher)
 {
     this.Firstname            = firstname;
     this.Lastname             = lastname;
     this.SocialSecurityNumber = ssn;
 }
예제 #2
0
 public BusinessParty(PartyId id, string companyName, string ceoName, IEventPublisher publisher)
     : base(id, publisher)
 {
     this.CompanyName = companyName;
     this.CeoName     = ceoName;
 }