Example #1
0
 public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker)
 {
     _presenceHub = presenceHub;
     // _userRepository = userRepository;
     // _messageRepository = messageRepository;
     _mapper     = mapper;
     _tracker    = tracker;
     _unitOfWork = unitOfWork;
 }
Example #2
0
 public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker)
 {
     _unitOfWork  = unitOfWork;
     _presenceHub = presenceHub;
     _tracker     = tracker;
     _mapper      = mapper;
 }
Example #3
0
 public PresenceHub(PresenceTracker tracker)
 {
     _tracker = tracker;
 }
Example #4
0
 public PresenceHub(PresenceTracker tracker)
 {
     this.tracker = tracker;
 }
Example #5
0
 public PresenceHub(PresenceTracker presenceTracker)
 {
     _presenceTracker = presenceTracker;
 }
Example #6
0
 public MessageHub(IMessageRepository messageRepository, IMapper mapper,
                   IUserRepository userRepository, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker)
 {
     _tracker           = tracker;
     _presenceHub       = presenceHub;
     _userRepository    = userRepository;
     _mapper            = mapper;
     _messageRepository = messageRepository;
 }
Example #7
0
 public PresenceHub(PresenceTracker presenceTracker)
 {
     this.presenceTracker = presenceTracker;
 }
 public PresenceHub(PresenceTracker _tracker)
 {
     __tracker = _tracker;
 }
Example #9
0
 public PresenceHub(PresenceTracker presenceTrack)
 {
     this._presenceTrack = presenceTrack;
 }
Example #10
0
 //   public MessageHub(IMessageRepository messageRepository, IMapper mapper, IUserRepository userRepository, IHubContext<PresenceHub> presenceHub, PresenceTracker tracker)
 public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker)
 {
     _tracker     = tracker;
     _presenceHub = presenceHub;
     _unitOfWork  = unitOfWork;
     _mapper      = mapper;
     //         _unitOfWork.UserRepository = userRepository;                                        // replaced with UnitOfWork
     //         _unitOfWork.MessageRepository = messageRepository;
 }