예제 #1
0
 public NotifyUserEventHandler(
     IHubContext <NotificationHub> hubContext,
     IUserRepostedService repostCacheAccessor
     )
 {
     _hubContext          = hubContext;
     _repostCacheAccessor = repostCacheAccessor;
 }
예제 #2
0
 public NotificationHub(IUserRepostedService repostCacheAccessor)
 {
     _userRepostedService = repostCacheAccessor;
 }
 public RepostEventGroupCreatedHandler(IUserRepostedService repostCacheAccessor, IMessageBroker messageBroker)
 {
     _repostCacheAccessor = repostCacheAccessor;
     _messageBroker       = messageBroker;
 }