示例#1
0
 public User(PartyId id, string fName, string lname, string email, string password) : base(id, fName + " " + lname)
 {
     this.fName    = fName;
     this.lName    = lname;
     this.email    = email;
     this.password = password;
 }
示例#2
0
 public Party(PartyId partyId, string name)
 {
     if (partyId == null)
     {
         throw new ArgumentNullException("partyId");
     }
     id        = partyId;
     this.name = name;
 }