Exemple #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;
 }
Exemple #2
0
 public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker)
 {
     _unitOfWork  = unitOfWork;
     _presenceHub = presenceHub;
     _tracker     = tracker;
     _mapper      = mapper;
 }
Exemple #3
0
 public PresenceHub(PresenceTracker tracker)
 {
     _tracker = tracker;
 }
Exemple #4
0
 public PresenceHub(PresenceTracker tracker)
 {
     this.tracker = tracker;
 }
Exemple #5
0
 public PresenceHub(PresenceTracker presenceTracker)
 {
     _presenceTracker = presenceTracker;
 }
Exemple #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;
 }
Exemple #7
0
 public PresenceHub(PresenceTracker presenceTracker)
 {
     this.presenceTracker = presenceTracker;
 }
 public PresenceHub(PresenceTracker _tracker)
 {
     __tracker = _tracker;
 }
 public PresenceHub(PresenceTracker presenceTrack)
 {
     this._presenceTrack = presenceTrack;
 }
Exemple #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;
 }