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;
 }