public OrderPaymentCreatedEventHandler(
     ICurrentTenant currentTenant,
     IOrderPaymentChecker orderPaymentChecker,
     IOrderRepository orderRepository)
 {
     _currentTenant       = currentTenant;
     _orderPaymentChecker = orderPaymentChecker;
     _orderRepository     = orderRepository;
 }
예제 #2
0
 public OrderPaymentCompletedEventHandler(
     IClock clock,
     ICurrentTenant currentTenant,
     IOrderPaymentChecker orderPaymentChecker,
     IOrderRepository orderRepository)
 {
     _clock               = clock;
     _currentTenant       = currentTenant;
     _orderPaymentChecker = orderPaymentChecker;
     _orderRepository     = orderRepository;
 }
예제 #3
0
 public PaymentCompletedEventHandler(
     IClock clock,
     ICurrentTenant currentTenant,
     IObjectMapper objectMapper,
     IOrderPaymentChecker orderPaymentChecker,
     IDistributedEventBus distributedEventBus,
     IOrderRepository orderRepository)
 {
     _clock               = clock;
     _currentTenant       = currentTenant;
     _objectMapper        = objectMapper;
     _orderPaymentChecker = orderPaymentChecker;
     _distributedEventBus = distributedEventBus;
     _orderRepository     = orderRepository;
 }