public DiscountController(ICommandBus commandBus, IDiscountQueryService discountQueryService, IProductQueryService productQueryService, IStoreQueryService storeQueryService) { _commandBus = commandBus; _discountQueryService = discountQueryService; _productQueryService = productQueryService; _storeQueryService = storeQueryService; }
public GoodsController(ICommandService commandService, IContextService contextService, IStoreQueryService storeQueryService, IGoodsQueryService goodsQueryService) : base(commandService, contextService) { _storeQueryService = storeQueryService; _goodsQueryService = goodsQueryService; }
private IStoreQueryService _storeQueryService; //Q 端 public ResetTodayStatisticJob() { var container = (ObjectContainer.Current as AutofacObjectContainer).Container; _commandService = container.Resolve <ICommandService>(); _storeQueryService = container.Resolve <IStoreQueryService>(); }
public GoodsController(IHostingEnvironment hostingEnvironment, ICommandService commandService, IContextService contextService, IStoreQueryService storeQueryService, IGoodsQueryService goodsQueryService) : base(commandService, contextService) { _storeQueryService = storeQueryService; _goodsQueryService = goodsQueryService; _hostingEnvironment = hostingEnvironment; }
public StoreController(IStoreQueryService storeQueryService, ILocationQueryService locationQueryService, IDiscountQueryService discountQueryService, ICommandBus commandBus) { _storeQueryService = storeQueryService; _locationQueryService = locationQueryService; _discountQueryService = discountQueryService; _commandBus = commandBus; }
public BenevolenceIndexController(ICommandService commandService, IContextService contextService, IStoreQueryService storeQueryService, IWalletQueryService walletQueryService, IBenevolenceIndexQueryService benevolenceIndexQueryService ) : base(commandService, contextService) { _storeQueryService = storeQueryService; _walletQueryService = walletQueryService; _benevolenceIndexQueryService = benevolenceIndexQueryService; }
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; }
public StatisticsController(ICommandService commandService, IUserQueryService userQueryService, IWalletQueryService walletQueryService, IStoreOrderQueryService storeOrderQueryService, IStoreQueryService storeQueryService, IBenevolenceIndexQueryService benevolenceIndexQueryService) { _userQueryService = userQueryService; _walletQueryService = walletQueryService; _storeOrderQueryService = storeOrderQueryService; _storeQueryService = storeQueryService; _benevolenceIndexQueryService = benevolenceIndexQueryService; }
/// <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; }
public StoreController(ICommandBus commandBus, IStoreQueryService storeQueryService) { _commandBus = commandBus; _storeQueryService = storeQueryService; }
public StoreController(IStoreQueryService storeQueryService) { _storeQueryService = storeQueryService; }
public DocumentController(ICommandBus commandBus, IDocumentQueryService documentQueryService, IStoreQueryService storeQueryService) { _commandBus = commandBus; _documentQueryService = documentQueryService; _storeQueryService = storeQueryService; }