Esempio n. 1
0
 private async void UpdateAppState(HappaState state)
 {
     this.AppState = state;
     await this.dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
     {
         this.vm.UpdateState(state);
     });
 }
Esempio n. 2
0
 public void UpdateState(HappaState state)
 {
     this.State             = state.ToString();
     this.AvailableCommands = this.stateDictionary[state];
 }