Beispiel #1
0
 private async void CardsState_StateChanged(object sender, CardsState e)
 {
     if (LocalStorage != null)
     {
         await LocalStorage.SetItemAsync("cards", e.Cards)
         .ConfigureAwait(false);
     }
 }
Beispiel #2
0
 public static CardsState ReduceAddCardAction(CardsState state, AddCardAction action) =>
 state with