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