示例#1
0
 public MessageHub(IMapper mapper, IUnitOfWork unitOfWork,
                   PresenceHub presenceHub, PresenseTracker presenceTracker)//IMessageRepository messageRepository,IUserRepository userRepository
 {
     //this._messageRepository = messageRepository;
     this._mapper     = mapper;
     this._unitOfWork = unitOfWork;
     //this._userRepository = userRepository;
     this._presenceHub     = presenceHub;
     this._presenceTracker = presenceTracker;
 }
示例#2
0
 public PresenceHub(PresenseTracker tracker)
 {
     this._tracker = tracker;
 }