protected SubmissionEventHandler(IActorProxyFactory proxyFactory, ILevyFundingSourceRepository repository, IPaymentLogger logger, IExecutionContext executionContext, ILevyMessageRoutingService levyMessageRoutingService) { this.proxyFactory = proxyFactory ?? throw new ArgumentNullException(nameof(proxyFactory)); this.repository = repository ?? throw new ArgumentNullException(nameof(repository)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.executionContext = executionContext ?? throw new ArgumentNullException(nameof(executionContext)); this.levyMessageRoutingService = levyMessageRoutingService ?? throw new ArgumentNullException(nameof(levyMessageRoutingService)); }
public CalculatedRequiredLevyAmountHandler(IActorProxyFactory proxyFactory, IPaymentLogger paymentLogger, IExecutionContext executionContext, ILevyMessageRoutingService levyMessageRoutingService) { this.proxyFactory = proxyFactory ?? new ActorProxyFactory(); this.paymentLogger = paymentLogger; this.levyMessageRoutingService = levyMessageRoutingService ?? throw new ArgumentNullException(nameof(levyMessageRoutingService)); this.executionContext = (ESFA.DC.Logging.ExecutionContext)executionContext; }
public SubmissionFailedEventHandler(IActorProxyFactory proxyFactory, ILevyFundingSourceRepository repository, IPaymentLogger logger, IExecutionContext executionContext, ILevyMessageRoutingService levyMessageRoutingService) : base(proxyFactory, repository, logger, executionContext, levyMessageRoutingService) { }