Beispiel #1
0
 public void ChangeList(ShoppingListRoot list)
 {
     ShoppingList = list;
     StateChanged?.Invoke();
 }
Beispiel #2
0
 public ShoppingListState(ShoppingListRoot shoppingList, bool itemsInBasketVisible, bool itemsInEditMode)
 {
     ShoppingList         = shoppingList;
     ItemsInBasketVisible = itemsInBasketVisible;
     ItemsInEditMode      = itemsInEditMode;
 }