public GameController(ILogger <GameController> logger, IUserService userService,
                       IHttpContextAccessor httpContextAccessor, IGameService gameService, IGameCellService gameCellService)
 {
     _logger              = logger;
     _userService         = userService;
     _httpContextAccessor = httpContextAccessor;
     _gameService         = gameService;
     _gameCellService     = gameCellService;
 }
 public GameService(IGameRepository gameRepository, IMoveRepository moveRepository,
                    IGameCellSelectorService gameCellSelectorService, IVictoryCheckService victoryCheckService,
                    IPlayerService playerService, IGameCellService gameCellService)
 {
     _gameRepository          = gameRepository;
     _moveRepository          = moveRepository;
     _gameCellSelectorService = gameCellSelectorService;
     _victoryCheckService     = victoryCheckService;
     _playerService           = playerService;
     _gameCellService         = gameCellService;
 }
Example #3
0
 public GameCellSelectorService(IGameCellService gameCellService)
 {
     _gameCellService = gameCellService;
 }
 public VictoryCheckService(IGameCellService gameCellService)
 {
     _gameCellService = gameCellService;
 }