コード例 #1
0
 public NotificationHub(MessageDomain messageDomain, UserDomain userDomain)
 {
     this.messageDomain = messageDomain;
     this.userDomain    = userDomain;
 }
コード例 #2
0
 public InventoryDomain(IInventoryRepository inventoryRepo, IConfigRepository configRepo, UserDomain userDomain,
                        IHubContext <NotificationHub, IUserClient> hubContext, ITransactionScopeFactory transactionScopeFactory)
 {
     InventoryRepo           = inventoryRepo;
     ConfigRepo              = configRepo;
     SignalRHubContext       = hubContext;
     UserDomain              = userDomain;
     TransactionScopeFactory = transactionScopeFactory;
 }