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;
 }
Beispiel #2
0
 public EventHandler(IGoodsRepository repository, IGoodsCategoryRepository categoryRepository, IEsGoodsRepository esGoodsRepository,
                     ILimitedTimeActivitieRepository limitrepository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork,
                     EfDbContext efDbContext, IElasticSearchRepository <EsGoodsDto> searchRepository, IOrderQueryService orderQueryService,
                     ILocalEventBus localEventBus
                     )
 {
     this.repository         = repository;
     this.categoryRepository = categoryRepository;
     this.limitrepository    = limitrepository;
     this.unitofWork         = unitofWork;
     this.eventBus           = eventBus;
     this.stateManager       = stateManager;
     this.esGoodsRepository  = esGoodsRepository;
     this.efDbContext        = efDbContext;
     this.searchRepository   = searchRepository;
     this.orderQueryService  = orderQueryService;
     this.localEventBus      = localEventBus;
 }