示例#1
0
 public StockCommandHandler(
     IStockGroupRepository stockGroupRepository,
     IEventBus eventBus,
     IStockExchangeService stockExchangeService,
     IWalletRepository walletRepository,
     ICustomEventStore eventStore,
     IStockGroupService stockGroupService)
 {
     _stockGroupRepository = stockGroupRepository;
     _eventBus             = eventBus;
     _stockExchangeService = stockExchangeService;
     _walletRepository     = walletRepository;
     _eventStore           = eventStore;
     _stockGroupService    = stockGroupService;
 }
示例#2
0
 public StockGroupEventHandler(ICustomEventStore eventStore,
                               IStockGroupRepository stockGroupRepository)
 {
     _eventStore           = eventStore;
     _stockGroupRepository = stockGroupRepository;
 }