Example #1
0
        private IOrderQueryService _orderQueryService; //Q 端

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

            _commandService    = container.Resolve <ICommandService>();
            _orderQueryService = container.Resolve <IOrderQueryService>();
        }
 public OrdersController(ILogger <OrdersController> logger,
                         IMediator mediator,
                         IOrderQueryService orderQueryService)
 {
     this.logger            = logger;
     this.mediator          = mediator;
     this.orderQueryService = orderQueryService;
 }
Example #3
0
 public OrderController(
     ILogger <OrderController> logger,
     IMediator mediator,
     IOrderQueryService orderQueryService)
 {
     _logger            = logger;
     _mediator          = mediator;
     _orderQueryService = orderQueryService;
 }
        public OrderReportService(IOrderQueryService orderQueryService)
        {
            _orderQueryService = orderQueryService;
            _configuration     = new CsvConfiguration {
                Encoding = Encoding.UTF8
            };
            _configuration.RegisterClassMap(new OrderReportItemMap());

            CreateAutoMapperMap();
        }
 public OrdersController(
     IProductQueryService productService,
     ICustomerQueryService customerService,
     IOrderCommandService commandService,
     IOrderQueryService queryService)
 {
     _customerService = customerService;
     __productService = productService;
     _command         = commandService;
     _query           = queryService;
 }
 public HomeController(
     ILogger <HomeController> logger,
     ICustomerQueryService customerQueryService,
     ICategoryQueryService categoryQueryService,
     IProductQueryService productQueryService,
     IOrderQueryService orderQueryService)
 {
     _logger          = logger;
     _categoryService = categoryQueryService;
     _customerService = customerQueryService;
     _orderService    = orderQueryService;
     _productService  = productQueryService;
 }
Example #7
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;
 }
 public ConferenceTenantController(IConferenceQueryService conferenceQueryService, IOrderQueryService orderQueryService)
 {
     ConferenceQueryService = conferenceQueryService;
     OrderQueryService = orderQueryService;
 }
Example #9
0
 public OrderController(IOrderQueryService orderQueryService, IMediator mediator)
 {
     _orderQueryService = orderQueryService;
     _mediator          = mediator;
 }
Example #10
0
 public ConferenceTenantController(IConferenceQueryService conferenceQueryService, IOrderQueryService orderQueryService)
 {
     ConferenceQueryService = conferenceQueryService;
     OrderQueryService      = orderQueryService;
 }
 public GetFilteredOrdersQueryHandler(IOrderQueryService orderQueryService)
 {
     this.orderQueryService = orderQueryService;
 }
Example #12
0
 OrderCommandService(Customer customer, IOrderQueryService queryService)
 {
     this._customer     = customer;
     this._queryService = queryService;
 }
Example #13
0
 public OrdersController(IOrderQueryService orderQueryService, IOrderReportService orderReportService)
 {
     _orderQueryService  = orderQueryService;
     _orderReportService = orderReportService;
 }
Example #14
0
 public CustomerOrderController(IOrderQueryService orderQueryService)
 {
     _orderQueryService = orderQueryService;
 }
 public ShopOrderController(IOrderQueryService orderQueryService)
 {
     _orderQueryService = orderQueryService;
 }
Example #16
0
 public OrderQueryController(IOrderQueryService service) //构造注入
 {
     _service = service;
 }
 public OrdersController(IOrderQueryService orderQueryService, IOrderReportService orderReportService)
 {
     _orderQueryService = orderQueryService;
       _orderReportService = orderReportService;
 }
Example #18
0
 public CustomerOrderController(ICommandBus bus, IOrderQueryService orderQueryService) : base(bus)
 {
     _orderQueryService = orderQueryService;
 }
Example #19
0
 public AreaOrderController(IOrderQueryService orderQueryService)
 {
     _orderQueryService = orderQueryService;
 }
 public GetOrderQueryHandler(IOrderQueryService orderQueryService)
 {
     this.orderQueryService = orderQueryService;
 }
Example #21
0
        private IOrderQueryService _orderQueryService;//Q 端

        public OrderController(ICommandService commandService, IContextService contextService,
                               IOrderQueryService orderQueryService) : base(commandService, contextService)
        {
            _orderQueryService = orderQueryService;
        }
Example #22
0
 public EventSubscriber(ICommandProcessor commandProcessor, IOrderQueryService orderQueryService)
 {
     this.commandProcessor  = commandProcessor;
     this.orderQueryService = orderQueryService;
 }
 public RegistrationController(ICommandService commandService, IConferenceQueryService conferenceQueryService, IOrderQueryService orderQueryService)
     : base(conferenceQueryService, orderQueryService)
 {
     _commandService = commandService;
 }
 public PrivateOrderController(ICommandBus bus, IOrderQueryService orderQueryService) : base(bus)
 {
     _orderQueryService = orderQueryService;
 }
Example #25
0
 public OrderController(ICommandService commandService, IConferenceQueryService conferenceQueryService, IOrderQueryService orderQueryService)
     : base(conferenceQueryService, orderQueryService)
 {
     _commandService = commandService;
 }
Example #26
0
 public CheckHasPendingOrderController(IOrderQueryService orderQueryService)
 {
     _orderQueryService = orderQueryService;
 }
Example #27
0
 public OrderController(ICommandBus commandBus, IOrderQueryService orderQueryService)
 {
     _commandBus        = commandBus;
     _orderQueryService = orderQueryService;
 }
 /// <summary>
 /// Default Constructor
 /// </summary>
 public OrderController(IOrderApplicationService orderApplicationService, IOrderQueryService orderQueryService, IApiKeyInfoAccess apiKeyInfoAccess)
 {
     _orderApplicationService = orderApplicationService;
     _orderQueryService       = orderQueryService;
     _apiKeyInfoAccess        = apiKeyInfoAccess;
 }