public StoreBuilder WithAddress(Action <Pdbc.Shopping.Domain.Model.AddressBuilder> addressBuilder) { var b = new Pdbc.Shopping.Domain.Model.AddressBuilder(); addressBuilder.Invoke(b); this.Address = b.Build(); return(this); }
public StoreBuilder WithAddress(Pdbc.Shopping.Domain.Model.Address address) { this.Address = address; return(this); }