Esempio n. 1
0
 public Chathub(IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IChatRepository chatRepository, IRoomRepository roomRepository)
 {
     _connectedUserRepository = connectedUserRepository;
     _chatRepository          = chatRepository;
     _roomRepository          = roomRepository;
     _redisHandler            = redisHandler;
 }
Esempio n. 2
0
 public RoomController(IWordRepository wordRepository, IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IHubContext <Chathub> hubContext, IRoomRepository roomRepository, AppDbContext context)
 {
     _wordRepository          = wordRepository;
     _redisHandler            = redisHandler;
     _roomRepository          = roomRepository;
     _hubContext              = hubContext;
     _connectedUserRepository = connectedUserRepository;
 }
Esempio n. 3
0
 public UserController(IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IUserRepository userRepository)
 {
     _connectedUserRepository = connectedUserRepository;
     _userRepository          = userRepository;
     _redisHandler            = redisHandler;
 }