public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker) { _presenceHub = presenceHub; // _userRepository = userRepository; // _messageRepository = messageRepository; _mapper = mapper; _tracker = tracker; _unitOfWork = unitOfWork; }
public MessageHub(IUnitOfWork unitOfWork, IMapper mapper, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker) { _unitOfWork = unitOfWork; _presenceHub = presenceHub; _tracker = tracker; _mapper = mapper; }
public PresenceHub(PresenceTracker tracker) { _tracker = tracker; }
public PresenceHub(PresenceTracker tracker) { this.tracker = tracker; }
public PresenceHub(PresenceTracker presenceTracker) { _presenceTracker = presenceTracker; }
public MessageHub(IMessageRepository messageRepository, IMapper mapper, IUserRepository userRepository, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker) { _tracker = tracker; _presenceHub = presenceHub; _userRepository = userRepository; _mapper = mapper; _messageRepository = messageRepository; }
public PresenceHub(PresenceTracker presenceTracker) { this.presenceTracker = presenceTracker; }
public PresenceHub(PresenceTracker _tracker) { __tracker = _tracker; }
public PresenceHub(PresenceTracker presenceTrack) { this._presenceTrack = presenceTrack; }
// 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; }