コード例 #1
0
 public PaymentAuthorizedEventHandler(
     IEcommerceUnitOfWork unitOfWork,
     IOrderStatusWorkflow orderStatusWorkflow,
     IOrderStatusBroadcaster orderStatusBroadcaster)
 {
     _unitOfWork             = unitOfWork;
     _orderStatusWorkflow    = orderStatusWorkflow;
     _orderStatusBroadcaster = orderStatusBroadcaster;
 }
コード例 #2
0
 public PaymentCreatedEventHandler(
     IEcommerceUnitOfWork unitOfWork,
     IOrderStatusWorkflow orderStatusWorkflow,
     IMediator mediator,
     IOrderStatusBroadcaster orderStatusBroadcaster)
 {
     _unitOfWork             = unitOfWork;
     _orderStatusWorkflow    = orderStatusWorkflow;
     _mediator               = mediator;
     _orderStatusBroadcaster = orderStatusBroadcaster;
 }