コード例 #1
0
 public ScoresController(
     ITicTacToeData data,
     IGameResultValidator resultValidator,
     IUserIdProvider userIdProvider)
     : base(data)
 {
     this.userIdProvider = userIdProvider;
 }
コード例 #2
0
 public ScoresController(
     ITicTacToeData data,
     IGameResultValidator resultValidator,
     IUserIdProvider userIdProvider)
     : base(data)
 {
     this.userIdProvider = userIdProvider;
 }
コード例 #3
0
 public GamesController(ITicTacToeData data, IGameResultValidator resultValidator)
     : base(data)
 {
     this.resultValidator = resultValidator;
 }
コード例 #4
0
 public GameController(IGameService gameService, IGameResultValidator resultValidator)
 {
     this.gameService = gameService;
     this.resultValidator = resultValidator;
 }
コード例 #5
0
 public GamesController(IBullsAndCowsData data, IUserIdProvider userIdProvider, IGameResultValidator resultValidator)
     : base(data)
 {
     this.resultValidator = resultValidator;
     this.userIdProvider  = userIdProvider;
 }
コード例 #6
0
 public GameResultService(IGameResultMemoryStorageService msService, IGameResultReplicationService rService, IGameResultValidator validator)
 {
     MemoryStorageService = msService;
     ReplicationService   = rService;
     Validator            = validator;
 }
コード例 #7
0
 public GameService(TicTacToeDbContext context, IGameResultValidator gameValidator)
 {
     this.context         = context;
     this.gameValidator   = gameValidator;
     this.randomGenerator = new Random();
 }
コード例 #8
0
 public void InitializeGameResultValidator()
 {
     this.validator = new GameResultValidator();
 }
コード例 #9
0
 public GamesController(ITicTacToeData ticTacToeData, IGameResultValidator resultValidator, IUserInfoProvider userIdProvider)
     : base(ticTacToeData)
 {
     this.resultValidator  = resultValidator;
     this.userInfoProvider = userIdProvider;
 }
コード例 #10
0
 public GamesController(ITicTacToeData ticTacToeData, IGameResultValidator resultValidator, IUserInfoProvider userIdProvider)
     : base(ticTacToeData)
 {
     this.resultValidator = resultValidator;
     this.userInfoProvider = userIdProvider;
 }
コード例 #11
0
ファイル: GamesController.cs プロジェクト: jesusico83/Telerik
 public GamesController(IBullsAndCowsData data, IGameResultValidator resultValidator, IUserIdProvider userIdProvider, Random randomGenerator) : base(data)
 {
     this.resultValidator = resultValidator;
     this.userIdProvider = userIdProvider;
     this.randomGenerator = randomGenerator;
 }
コード例 #12
0
 public void TestInit()
 {
     validator = new GameResultValidator();
 }