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)); }
Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message) { PopulateControls(); return(this.RefreshBindingsAsync(_aggregator)); }
public Task HandleAsync(LoadEventModel message) { return(Task.CompletedTask); }
Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message) { _color.LoadLists(_model.ColorChooser); return(Task.CompletedTask); }