public MessengingPipelineContextFactory(IMessengerFactory messengerFactory, ICommandIngesterFactory ingesterFactory, Func <ITimeout, IConfirmationTimeoutChecker> confirmationTImeoutChecker, Func <ICommandIngester, ITimeout, ICompletitionTimeoutChecker> completitionCheckFactory, Func <IIncomingMessageProcessor> processorFactory, Func <IConfirmationFactory> confirmationFactory, Func <IIdGenerator> idGeneratorFactory, ITimeoutFactory timeoutFactory, Func <IMessenger, ICommandIngester, IIncomingMessageProcessor, ICompletitionTimeoutChecker, IConfirmationTimeoutChecker, IIdGenerator, IConfirmationFactory, IMessagingPipelineContext> messengingPipelineContextAF) { _messengerFactory = messengerFactory ?? throw new ArgumentNullException(nameof(messengerFactory)); _ingesterFactory = ingesterFactory ?? throw new ArgumentNullException(nameof(ingesterFactory)); _confirmationTImeoutChecker = confirmationTImeoutChecker ?? throw new ArgumentNullException(nameof(confirmationTImeoutChecker)); _completitionCheckFactory = completitionCheckFactory ?? throw new ArgumentNullException(nameof(completitionCheckFactory)); _processorFactory = processorFactory ?? throw new ArgumentNullException(nameof(processorFactory)); _confirmationFactory = confirmationFactory ?? throw new ArgumentNullException(nameof(confirmationFactory)); _idGeneratorFactory = idGeneratorFactory ?? throw new ArgumentNullException(nameof(idGeneratorFactory)); _timeoutFactory = timeoutFactory ?? throw new ArgumentNullException(nameof(timeoutFactory)); _messengingPipelineContextAF = messengingPipelineContextAF ?? throw new ArgumentNullException(nameof(messengingPipelineContextAF)); }
public TimeoutService( ITimeoutCacheService timeoutCacheService, ITimeoutFactory timeoutFactory) { this.timeoutFactory = timeoutFactory; this.timeoutCacheService = timeoutCacheService; }
public ConfirmationTimeoutCheckerFactory(ITimeoutFactory timeoutCheckFactory) { _timeoutCheckFactory = timeoutCheckFactory ?? throw new ArgumentNullException(nameof(timeoutCheckFactory)); }