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; }
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; }
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; }
public OrderController(IOrderQueryService orderQueryService, IMediator mediator) { _orderQueryService = orderQueryService; _mediator = mediator; }
public GetFilteredOrdersQueryHandler(IOrderQueryService orderQueryService) { this.orderQueryService = orderQueryService; }
OrderCommandService(Customer customer, IOrderQueryService queryService) { this._customer = customer; this._queryService = queryService; }
public OrdersController(IOrderQueryService orderQueryService, IOrderReportService orderReportService) { _orderQueryService = orderQueryService; _orderReportService = orderReportService; }
public CustomerOrderController(IOrderQueryService orderQueryService) { _orderQueryService = orderQueryService; }
public ShopOrderController(IOrderQueryService orderQueryService) { _orderQueryService = orderQueryService; }
public OrderQueryController(IOrderQueryService service) //构造注入 { _service = service; }
public CustomerOrderController(ICommandBus bus, IOrderQueryService orderQueryService) : base(bus) { _orderQueryService = orderQueryService; }
public AreaOrderController(IOrderQueryService orderQueryService) { _orderQueryService = orderQueryService; }
public GetOrderQueryHandler(IOrderQueryService orderQueryService) { this.orderQueryService = orderQueryService; }
private IOrderQueryService _orderQueryService;//Q 端 public OrderController(ICommandService commandService, IContextService contextService, IOrderQueryService orderQueryService) : base(commandService, contextService) { _orderQueryService = orderQueryService; }
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; }
public OrderController(ICommandService commandService, IConferenceQueryService conferenceQueryService, IOrderQueryService orderQueryService) : base(conferenceQueryService, orderQueryService) { _commandService = commandService; }
public CheckHasPendingOrderController(IOrderQueryService orderQueryService) { _orderQueryService = orderQueryService; }
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; }