Beispiel #1
0
        public ShoppingListBuilder WithStore(Action <Pdbc.Shopping.Domain.Model.StoreBuilder> storeBuilder)
        {
            var b = new Pdbc.Shopping.Domain.Model.StoreBuilder();

            storeBuilder.Invoke(b);
            this.Store = b.Build();
            return(this);
        }
Beispiel #2
0
 public ShoppingListBuilder WithStore(Pdbc.Shopping.Domain.Model.Store store)
 {
     this.Store = store;
     return(this);
 }