コード例 #1
0
ファイル: GameplayViewModel.cs プロジェクト: KDet/TicTacToe
 public GameplayViewModel(IDialogService dialogService)
 {
     _dialogService = dialogService;
     RetryCommand = new RelayCommand(OnRetry);
     ExitCommand =  new RelayCommand(OnExit);
     OnRetry();
 }
コード例 #2
0
ファイル: GameplayViewModel.cs プロジェクト: KDet/TicTacToe
 public CellViewModel(MoveType? moveTypeOnCell, bool isWinner, RelayCommand<string> cellPressedCommand)
     : this(cellPressedCommand)
 {
     _moveTypeOnCell = moveTypeOnCell;
     _isWinner = isWinner;
 }
コード例 #3
0
ファイル: GameplayViewModel.cs プロジェクト: KDet/TicTacToe
 public CellViewModel(RelayCommand<string> cellPressedCommand)
 {
     CellPressedCommand = cellPressedCommand;
 }