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