Пример #1
0
        Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message)
        {
            //GamePackageViewModelBinder.ManuelElements.Clear(); //often times i have to add manually.
            YahtzeeSaveInfo <D> save = cons !.Resolve <YahtzeeSaveInfo <D> >(); //usually needs this part for multiplayer games.

            _score !.LoadLists(save.PlayerList);
            _diceControl !.LoadDiceViewModel(_model.Cup !);
            return(this.RefreshBindingsAsync(_aggregator));
        }
Пример #2
0
 Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message)
 {
     PopulateControls();
     return(this.RefreshBindingsAsync(_aggregator));
 }
Пример #3
0
 public Task HandleAsync(LoadEventModel message)
 {
     return(Task.CompletedTask);
 }
Пример #4
0
        Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message)
        {
            _color.LoadLists(_model.ColorChooser);

            return(Task.CompletedTask);
        }