예제 #1
0
 public DeletePassengerHandler(IPassengerEventStorePublisher eventStorePublisher)
     : base(eventStorePublisher)
 {
 }
예제 #2
0
 public CreatePassengerHandler(
     IPassengerEventStorePublisher eventStorePublisher,
     IMediator mediator)
     : base(eventStorePublisher)
     => m_Mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
예제 #3
0
 public BasePassengerCommand(IPassengerEventStorePublisher eventStorePublisher)
 => m_EventStorePublisher = eventStorePublisher ?? throw new ArgumentNullException(nameof(eventStorePublisher));