Esempio n. 1
0
 public AddPairCommandHandler(IPairService pairService, IPairMessageNotificationService pairMessageNotificationService, ICorrelationContext correlationContext)
 {
     _pairService = pairService ?? throw new ArgumentNullException(nameof(pairService));
     _pairMessageNotificationService = pairMessageNotificationService ?? throw new ArgumentNullException(nameof(pairMessageNotificationService));
     _correlationContext             = correlationContext ?? throw new ArgumentNullException(nameof(correlationContext));
 }
Esempio n. 2
0
 public AddMessageToPairCommandHandler(IPairService pairService, IPairMessageNotificationService pairMessageNotificationService)
 {
     _pairService = pairService ?? throw new ArgumentNullException(nameof(pairService));
     _pairMessageNotificationService = pairMessageNotificationService ?? throw new ArgumentNullException(nameof(pairMessageNotificationService));
 }