Esempio n. 1
0
 public ScoresController(
     ITicTacToeData data,
     IGameResultValidator resultValidator,
     IUserIdProvider userIdProvider)
     : base(data)
 {
     this.userIdProvider = userIdProvider;
 }
 public ScoresController(
     ITicTacToeData data,
     IGameResultValidator resultValidator,
     IUserIdProvider userIdProvider)
     : base(data)
 {
     this.userIdProvider = userIdProvider;
 }
Esempio n. 3
0
 public GamesController(ITicTacToeData data, IGameResultValidator resultValidator)
     : base(data)
 {
     this.resultValidator = resultValidator;
 }
 public GameController(IGameService gameService, IGameResultValidator resultValidator)
 {
     this.gameService = gameService;
     this.resultValidator = resultValidator;
 }
Esempio n. 5
0
 public GamesController(IBullsAndCowsData data, IUserIdProvider userIdProvider, IGameResultValidator resultValidator)
     : base(data)
 {
     this.resultValidator = resultValidator;
     this.userIdProvider  = userIdProvider;
 }
Esempio n. 6
0
 public GameResultService(IGameResultMemoryStorageService msService, IGameResultReplicationService rService, IGameResultValidator validator)
 {
     MemoryStorageService = msService;
     ReplicationService   = rService;
     Validator            = validator;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 10
0
 public GamesController(ITicTacToeData ticTacToeData, IGameResultValidator resultValidator, IUserInfoProvider userIdProvider)
     : base(ticTacToeData)
 {
     this.resultValidator = resultValidator;
     this.userInfoProvider = userIdProvider;
 }
Esempio n. 11
0
 public GamesController(IBullsAndCowsData data, IGameResultValidator resultValidator, IUserIdProvider userIdProvider, Random randomGenerator) : base(data)
 {
     this.resultValidator = resultValidator;
     this.userIdProvider = userIdProvider;
     this.randomGenerator = randomGenerator;
 }
Esempio n. 12
0
 public void TestInit()
 {
     validator = new GameResultValidator();
 }