示例#1
0
 public OnlineUserHub(OnlineTracker tracker, IUserRepository userRepository, IChatRepository chatRepository, IMapper mapper)
 {
     _tracker        = tracker;
     _userRepository = userRepository;
     _chatRepository = chatRepository;
     _mapper         = mapper;
 }
示例#2
0
 public OnlineClientHub(OnlineTracker onlineTracker)
 {
     _onlineTracker = onlineTracker;
 }
示例#3
0
 public HubRepository(IHubContext <OnlineClientHub> hubContext, IUnitOfWork unitOfWork, OnlineTracker onlineTracker)
 {
     _hubContext    = hubContext;
     _unitOfWork    = unitOfWork;
     _onlineTracker = onlineTracker;
 }