コード例 #1
0
 public OrderService(IMessageBroker messageBroker, IValidator <NewOrderDTO> newOrderValidator, IOrdersUnitOfWork ordersUnitOfWork, IMapper mapper)
 {
     _messageBroker     = messageBroker;
     _newOrderValidator = newOrderValidator;
     _ordersUnitOfWork  = ordersUnitOfWork;
     _mapper            = mapper;
 }
コード例 #2
0
 public OrdersService(IMessageBroker messageBroker, IValidator <NewOrderDto> newOrderValidator, IOrdersUnitOfWork unitOfWork, IMapper mapper)
 {
     _messageBroker     = messageBroker;
     _newOrderValidator = newOrderValidator;
     _orderUoW          = unitOfWork;
     _mapper            = mapper;
 }
コード例 #3
0
 public NewOrderMessageHandler(IMapper mapper, IOrdersUnitOfWork unitOfWork, IOptions <HttpProviderEndpoints> httpProviderEndpoints, IMessageBroker messageBroker, ILogger <NewOrderMessageHandler> logger)
 {
     _unitOfWork            = unitOfWork;
     _mapper                = mapper;
     _httpProviderEndpoints = httpProviderEndpoints.Value;
     _messageBroker         = messageBroker;
     _logger                = logger;
 }
コード例 #4
0
 public OrderItemsService(IOrdersUnitOfWork unitOfWork)
 {
     _orderUoW = unitOfWork;
 }
 public ProviderProcessedOrderItemsHandler(ILogger <ProviderProcessedOrderItemsHandler> logger, IOrdersUnitOfWork unitOfWork)
 {
     _logger   = logger;
     _orderUoW = unitOfWork;
 }
コード例 #6
0
 public DeliveryDetailsService(IOrdersUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
コード例 #7
0
 public OrderItemService(IOrdersUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }