コード例 #1
0
 public NotifyUserEventHandler(
     IHubContext <NotificationHub> hubContext,
     IUserRepostedService repostCacheAccessor
     )
 {
     _hubContext          = hubContext;
     _repostCacheAccessor = repostCacheAccessor;
 }
コード例 #2
0
ファイル: NotificationHub.cs プロジェクト: Woodhds/metrics
 public NotificationHub(IUserRepostedService repostCacheAccessor)
 {
     _userRepostedService = repostCacheAccessor;
 }
コード例 #3
0
 public RepostEventGroupCreatedHandler(IUserRepostedService repostCacheAccessor, IMessageBroker messageBroker)
 {
     _repostCacheAccessor = repostCacheAccessor;
     _messageBroker       = messageBroker;
 }