public void OnNavigatedTo(NavigationContext navigationContext)
 {
     this.SetPlayer((IPlayer)navigationContext.Parameters["player"]);
     this.game = (GameViewModel)navigationContext.Parameters["game"];
 }
Example #2
0
 public CellViewModel(GameViewModel gameViewModel, int number)
 {
     _gameViewModel = gameViewModel;
     _number        = number;
     _text          = number.ToString()[0];
 }