public OrderUseCaseService(IOrderRepository repository, IAccountQueryService accountQueryService, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork, IGoodsQueryService goodsQueryService, IGoodsActorService goodsActorService) { this.repository = repository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; this.goodsQueryService = goodsQueryService; this.goodsActorService = goodsActorService; this.accountQueryService = accountQueryService; }
public TradeEventHandler(IOrderRepository repository, ILogisticsRepository logisticsRepository, ITradeLogRepository tradeLogRepository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork, IGoodsActorService goodsActorService) { this.repository = repository; this.logisticsRepository = logisticsRepository; this.tradeLogRepository = tradeLogRepository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; this.goodsActorService = goodsActorService; }
public GoodsUseCaseService(IGoodsRepository repository, IGoodsCategoryRepository goodsCategoryRepository, IEsGoodsRepository esGoodsRepository, ILocalEventBus localEventBus, IServiceProxyFactory serviceProxyFactory, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork) { this.repository = repository; this.goodsCategoryRepository = goodsCategoryRepository; this.unitofWork = unitofWork; this.eventBus = eventBus; this.stateManager = stateManager; this.serviceProxyFactory = serviceProxyFactory; this.actorService = serviceProxyFactory.CreateActorProxy <IGoodsActorService>(); this.esGoodsRepository = esGoodsRepository; this.localEventBus = localEventBus; }