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