public CreateOrderHandler(OrderRepository orders, SalesCrudOperations crudOperations,
                           OrderEventsOutbox eventsOutbox)
 {
     _orders         = orders;
     _crudOperations = crudOperations;
     _eventsOutbox   = eventsOutbox;
 }
 public PlaceOrderHandler(CalculatePrices calculatePrices, OrderRepository orders,
                          OrderEventsOutbox eventsOutbox)
 {
     _calculatePrices = calculatePrices;
     _orders          = orders;
     _eventsOutbox    = eventsOutbox;
 }
 public PlaceOrderHandler(CalculatePrices calculatePrices, OrderRepository orders,
                          SalesCrudOperations crudOperations, OrderEventsOutbox eventsOutbox)
 {
     _calculatePrices = calculatePrices;
     _orders          = orders;
     _crudOperations  = crudOperations;
     _eventsOutbox    = eventsOutbox;
 }
 public PlaceOrderHandler(OrderRepository orders, SalesCrudOperations crudOperations, Clock clock,
                          OrderEventsOutbox eventsOutbox)
 {
     _orders         = orders;
     _crudOperations = crudOperations;
     _clock          = clock;
     _eventsOutbox   = eventsOutbox;
 }
예제 #5
0
 public ConfirmOfferHandler(OrderRepository orders,
                            OrderHeaderRepository orderHeaders,
                            CalculatePrices calculatePrices,
                            PriceChangesPolicies priceChangesPolicies,
                            OrderEventsOutbox eventsOutbox,
                            Clock clock)
 {
     _orders               = orders;
     _orderHeaders         = orderHeaders;
     _calculatePrices      = calculatePrices;
     _priceChangesPolicies = priceChangesPolicies;
     _eventsOutbox         = eventsOutbox;
     _clock = clock;
 }
 public AddToOrderHandler(OrderRepository orders, OrderEventsOutbox eventsOutbox)
 {
     _orders       = orders;
     _eventsOutbox = eventsOutbox;
 }
예제 #7
0
 public PlaceOrderHandler(OrderRepository orders, OrderEventsOutbox eventsOutbox, Clock clock)
 {
     _orders       = orders;
     _eventsOutbox = eventsOutbox;
     _clock        = clock;
 }