public ScoresController( ITicTacToeData data, IGameResultValidator resultValidator, IUserIdProvider userIdProvider) : base(data) { this.userIdProvider = userIdProvider; }
public GamesController(ITicTacToeData data, IGameResultValidator resultValidator) : base(data) { this.resultValidator = resultValidator; }
public GameController(IGameService gameService, IGameResultValidator resultValidator) { this.gameService = gameService; this.resultValidator = resultValidator; }
public GamesController(IBullsAndCowsData data, IUserIdProvider userIdProvider, IGameResultValidator resultValidator) : base(data) { this.resultValidator = resultValidator; this.userIdProvider = userIdProvider; }
public GameResultService(IGameResultMemoryStorageService msService, IGameResultReplicationService rService, IGameResultValidator validator) { MemoryStorageService = msService; ReplicationService = rService; Validator = validator; }
public GameService(TicTacToeDbContext context, IGameResultValidator gameValidator) { this.context = context; this.gameValidator = gameValidator; this.randomGenerator = new Random(); }
public void InitializeGameResultValidator() { this.validator = new GameResultValidator(); }
public GamesController(ITicTacToeData ticTacToeData, IGameResultValidator resultValidator, IUserInfoProvider userIdProvider) : base(ticTacToeData) { this.resultValidator = resultValidator; this.userInfoProvider = userIdProvider; }
public GamesController(IBullsAndCowsData data, IGameResultValidator resultValidator, IUserIdProvider userIdProvider, Random randomGenerator) : base(data) { this.resultValidator = resultValidator; this.userIdProvider = userIdProvider; this.randomGenerator = randomGenerator; }
public void TestInit() { validator = new GameResultValidator(); }