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