コード例 #1
0
 public NotificationService(IHubContext <NotifyHub> hubContext, IUserInfoInMemory userInfo,
                            IBlockchainExplorer explorer, IServiceScopeFactory scopeFactory)
 {
     _explorer     = explorer;
     _hubContext   = hubContext;
     _userInfo     = userInfo;
     _scopeFactory = scopeFactory;
 }
コード例 #2
0
 public NotifyHub(IUserInfoInMemory userInfoInMemory)
 {
     _userInfoInMemory = userInfoInMemory;
 }