Ejemplo n.º 1
0
 public DiscountController(ICommandBus commandBus, IDiscountQueryService discountQueryService, IProductQueryService productQueryService, IStoreQueryService storeQueryService)
 {
     _commandBus           = commandBus;
     _discountQueryService = discountQueryService;
     _productQueryService  = productQueryService;
     _storeQueryService    = storeQueryService;
 }
Ejemplo n.º 2
0
 public GoodsController(ICommandService commandService, IContextService contextService,
                        IStoreQueryService storeQueryService,
                        IGoodsQueryService goodsQueryService) : base(commandService, contextService)
 {
     _storeQueryService = storeQueryService;
     _goodsQueryService = goodsQueryService;
 }
Ejemplo n.º 3
0
        private IStoreQueryService _storeQueryService; //Q 端

        public ResetTodayStatisticJob()
        {
            var container = (ObjectContainer.Current as AutofacObjectContainer).Container;

            _commandService    = container.Resolve <ICommandService>();
            _storeQueryService = container.Resolve <IStoreQueryService>();
        }
Ejemplo n.º 4
0
 public GoodsController(IHostingEnvironment hostingEnvironment, ICommandService commandService, IContextService contextService,
                        IStoreQueryService storeQueryService,
                        IGoodsQueryService goodsQueryService) : base(commandService, contextService)
 {
     _storeQueryService  = storeQueryService;
     _goodsQueryService  = goodsQueryService;
     _hostingEnvironment = hostingEnvironment;
 }
Ejemplo n.º 5
0
 public StoreController(IStoreQueryService storeQueryService,
                        ILocationQueryService locationQueryService,
                        IDiscountQueryService discountQueryService,
                        ICommandBus commandBus)
 {
     _storeQueryService    = storeQueryService;
     _locationQueryService = locationQueryService;
     _discountQueryService = discountQueryService;
     _commandBus           = commandBus;
 }
Ejemplo n.º 6
0
 public BenevolenceIndexController(ICommandService commandService, IContextService contextService,
                                   IStoreQueryService storeQueryService,
                                   IWalletQueryService walletQueryService,
                                   IBenevolenceIndexQueryService benevolenceIndexQueryService
                                   ) : base(commandService, contextService)
 {
     _storeQueryService            = storeQueryService;
     _walletQueryService           = walletQueryService;
     _benevolenceIndexQueryService = benevolenceIndexQueryService;
 }
Ejemplo n.º 7
0
 public StoreController(ICommandService commandService, IContextService contextService,
                        IUserQueryService userQueryService,
                        IStoreQueryService storeQueryService,
                        IStoreOrderQueryService storeOrderQueryService,
                        IGoodsQueryService goodsQueryService) : base(commandService, contextService)
 {
     _userQueryService       = userQueryService;
     _storeQueryService      = storeQueryService;
     _storeOrderQueryService = storeOrderQueryService;
     _goodsQueryService      = goodsQueryService;
 }
Ejemplo n.º 8
0
 public StatisticsController(ICommandService commandService,
                             IUserQueryService userQueryService,
                             IWalletQueryService walletQueryService,
                             IStoreOrderQueryService storeOrderQueryService,
                             IStoreQueryService storeQueryService,
                             IBenevolenceIndexQueryService benevolenceIndexQueryService)
 {
     _userQueryService             = userQueryService;
     _walletQueryService           = walletQueryService;
     _storeOrderQueryService       = storeOrderQueryService;
     _storeQueryService            = storeQueryService;
     _benevolenceIndexQueryService = benevolenceIndexQueryService;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// IOC 构造函数注入
 /// </summary>
 /// <param name="commandService"></param>
 /// <param name="conferenceQueryService"></param>
 public UserController(ICommandService commandService, ISMSender smSender, IContextService contentService,
                       IUserQueryService userQueryService,
                       IWalletQueryService walletQueryService,
                       ICartQueryService cartQueryService,
                       IStoreQueryService storeQueryService,
                       IStoreOrderQueryService storeOrderQueryService) : base(commandService, contentService)
 {
     _smSender               = smSender;
     _userQueryService       = userQueryService;
     _walletQueryService     = walletQueryService;
     _cartQueryService       = cartQueryService;
     _storeQueryService      = storeQueryService;
     _storeOrderQueryService = storeOrderQueryService;
 }
Ejemplo n.º 10
0
 public StoreController(ICommandBus commandBus, IStoreQueryService storeQueryService)
 {
     _commandBus        = commandBus;
     _storeQueryService = storeQueryService;
 }
Ejemplo n.º 11
0
 public StoreController(IStoreQueryService storeQueryService)
 {
     _storeQueryService = storeQueryService;
 }
Ejemplo n.º 12
0
 public DocumentController(ICommandBus commandBus, IDocumentQueryService documentQueryService, IStoreQueryService storeQueryService)
 {
     _commandBus           = commandBus;
     _documentQueryService = documentQueryService;
     _storeQueryService    = storeQueryService;
 }