示例#1
0
 public PersonBuilder WithAddress(Address address)
 {
     this.Address = address;
     return this;
 }
示例#2
0
 public Person(string firstName,string lastName,Address address)
 {
     this.FirstName = firstName;
     this.LastName = lastName;
     this.Address = address;
 }