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