Exemple #1
0
 public GameplayViewModel(IDialogService dialogService)
 {
     _dialogService = dialogService;
     RetryCommand = new RelayCommand(OnRetry);
     ExitCommand =  new RelayCommand(OnExit);
     OnRetry();
 }
Exemple #2
0
 public CellViewModel(MoveType? moveTypeOnCell, bool isWinner, RelayCommand<string> cellPressedCommand)
     : this(cellPressedCommand)
 {
     _moveTypeOnCell = moveTypeOnCell;
     _isWinner = isWinner;
 }
Exemple #3
0
 public CellViewModel(RelayCommand<string> cellPressedCommand)
 {
     CellPressedCommand = cellPressedCommand;
 }