public EndSubmissionsValidator( IBaseGameRequestsValidator baseGameRequestsValidator, IGameRoundsRepository gameRoundsRepository, IPlayerAnswersRepository playerAnswersRepository, IGameOrRoundOwnerRule gameOrRoundOwnerRule) { this.baseGameRequestsValidator = baseGameRequestsValidator; this.gameRoundsRepository = gameRoundsRepository; this.playerAnswersRepository = playerAnswersRepository; this.gameOrRoundOwnerRule = gameOrRoundOwnerRule; }
public SelectAnswerValidator( IBaseGameRequestsValidator baseGameRequestsValidator, IRoundOwnerRule roundOwnerRule, IPlayerAnswersRepository playerAnswersRepository, IGameRoundsRepository gameRoundsRepository) { this.baseGameRequestsValidator = baseGameRequestsValidator; this.roundOwnerRule = roundOwnerRule; this.playerAnswersRepository = playerAnswersRepository; this.gameRoundsRepository = gameRoundsRepository; }
public SubmitAnswerValidator( IBaseGameRequestsValidator baseGameRequestsValidator, IPlayersRepository playersRepository, IGameRoundsRepository gameRoundsRepository, IPlayerCardsRepository playerCardsRepository, IQuestionCardsRepository questionCardsRepository, IPlayerAnswersRepository playerAnswersRepository) { this.baseGameRequestsValidator = baseGameRequestsValidator; this.playersRepository = playersRepository; this.gameRoundsRepository = gameRoundsRepository; this.playerCardsRepository = playerCardsRepository; this.questionCardsRepository = questionCardsRepository; this.playerAnswersRepository = playerAnswersRepository; }
public SubmitAnswerHandler( IRequestValidator<SubmitAnswer> requestValidator, IRepositoryTransactionsFactory repositoryTransactionsFactory, IPlayerAnswersRepository playerAnswerRepository, IGameCheckpointUpdater gameCheckpointUpdater, IPlayersRepository playersRepository, IPlayerCardsRepository playerCardsRepository) { this.requestValidator = requestValidator; this.repositoryTransactionsFactory = repositoryTransactionsFactory; this.playerAnswerRepository = playerAnswerRepository; this.gameCheckpointUpdater = gameCheckpointUpdater; this.playersRepository = playersRepository; this.playerCardsRepository = playerCardsRepository; }
public SelectAnswerHandler( IRequestValidator <SelectAnswer> requestValidator, IRepositoryTransactionsFactory repositoryTransactionsFactory, IGameRoundsRepository gameRoundsRepository, IGamesRepository gamesRepository, IPlayerAnswersRepository playerAnswersRepository, IPlayerCardsCreator playerCardsCreator, IGameRoundCreator gameRoundCreator, IGameCheckpointUpdater gameCheckpointUpdater) { this.requestValidator = requestValidator; this.repositoryTransactionsFactory = repositoryTransactionsFactory; this.gameRoundsRepository = gameRoundsRepository; this.gamesRepository = gamesRepository; this.playerAnswersRepository = playerAnswersRepository; this.playerCardsCreator = playerCardsCreator; this.gameRoundCreator = gameRoundCreator; this.gameCheckpointUpdater = gameCheckpointUpdater; }