Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public BusinessParty(PartyId id, string companyName, string ceoName, IEventPublisher publisher)
     : base(id, publisher)
 {
     this.CompanyName = companyName;
     this.CeoName     = ceoName;
 }