Esempio n. 1
0
 public ChatHubMethods(
     IHubContext <ChatHub> hubContext,
     IPlayerConnectionRepository <ChatHub> playerConnections,
     IChatService chatService
     ) : base(hubContext, playerConnections)
 {
     _chatService = chatService;
 }
Esempio n. 2
0
 public SignInHubMethods(
     IHubContext <SignInHub> hubContext,
     IPlayerConnectionRepository <SignInHub> playerConnections,
     ISignInService signInService
     ) : base(hubContext, playerConnections)
 {
     _signInService = signInService;
 }
Esempio n. 3
0
 public GameHubMethods(
     IHubContext <GameHub> hubContext,
     IPlayerConnectionRepository <GameHub> playerConnections,
     IGameService gameService
     ) : base(hubContext, playerConnections)
 {
     _gameService = gameService;
 }
Esempio n. 4
0
 public GameHub(
     IPlayerConnectionRepository <GameHub> playerConnections,
     GameHubMethods hubMethods,
     IGameService gameService
     ) : base(playerConnections)
 {
     _hubMethods  = hubMethods;
     _gameService = gameService;
 }
Esempio n. 5
0
 public SignInHub(
     IPlayerConnectionRepository <SignInHub> playerConnections,
     SignInHubMethods hubMethods,
     ISignInService signInService
     ) : base(playerConnections)
 {
     _hubMethods    = hubMethods;
     _signInService = signInService;
 }
Esempio n. 6
0
 public EventHubMethods(
     IHubContext <EventHub> hubContext,
     IPlayerConnectionRepository <EventHub> playerConnections,
     IEventBus eventBus
     ) : base(hubContext, playerConnections)
 {
     _eventBus = eventBus;
     SubscribeAll();
 }
Esempio n. 7
0
 public ChatHub(
     IPlayerConnectionRepository <ChatHub> playerConnections,
     ChatHubMethods hubMethods,
     IChatService chatService
     ) : base(playerConnections)
 {
     _hubMethods  = hubMethods;
     _chatService = chatService;
 }
Esempio n. 8
0
 public EventHub(
     IPlayerConnectionRepository <EventHub> playerConnections,
     EventHubMethods hubMethods,
     IEventBus eventBus
     ) : base(playerConnections)
 {
     _hubMethods = hubMethods;
     _eventBus   = eventBus;
 }
Esempio n. 9
0
 public ServiceHubMethodsBase(IHubContext <TServiceHub> hubContext, IPlayerConnectionRepository <TServiceHub> playerConnections)
 {
     _hubContext        = hubContext;
     _playerConnections = playerConnections;
 }
Esempio n. 10
0
 public LeaveLobbyCommandHandler(IMediator mediator, ILobbyRepository lobbyRepository, IPlayerConnectionRepository playerConnectionRepository)
 {
     _mediator                   = mediator;
     _lobbyRepository            = lobbyRepository;
     _playerConnectionRepository = playerConnectionRepository;
 }
Esempio n. 11
0
 public ServiceHubBase(IPlayerConnectionRepository playerConnections)
 {
     _playerConnections = playerConnections;
 }