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