コード例 #1
0
 public GameStatusService(GameReadService gameReadService, IHubContext <GameStateHub> hubContext, GameRepository gameRepository, AnswerResultRepository answerResultRepository)
 {
     this.gameReadService        = gameReadService;
     this.hubContext             = hubContext;
     this.gameRepository         = gameRepository;
     this.answerResultRepository = answerResultRepository;
     this.hubContext             = hubContext;
 }
コード例 #2
0
 public GameService(GameRepository gameRepository, GameReadService gameReadService, UserRepository userRepository, GameStatusService gameStatusService, IHubContext <UserHub> hubContext)
 {
     this.gameRepository    = gameRepository;
     this.gameReadService   = gameReadService;
     this.userRepository    = userRepository;
     this.gameStatusService = gameStatusService;
     this.hubContext        = hubContext;
 }
コード例 #3
0
 public GameController(GameService gameService, GameReadService gameReadService)
 {
     this.gameService     = gameService;
     this.gameReadService = gameReadService;
 }