public InitiateOnlineOfferCommandHandler(IMediator mediator, IApplicationRepository applicationRepository, IEventBus eventBus, ILogger <InitiateOnlineOfferCommand> logger, OfferPriceCalculation priceCalculator, IConfigurationService configurationService, IContentService contentService, MessageEventFactory messageEventFactory, IMasterPartyDataService partyDataService, ApplicationDocumentsResolver applicationDocumentsResolver, OfferUtility offerUtility, ArrangementRequestFactory requestFactory, IAuditClient auditClient ) { _applicationRepository = applicationRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _priceCalculator = priceCalculator; _messageEventFactory = messageEventFactory; _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _contentService = contentService ?? throw new ArgumentNullException(nameof(contentService)); _partyDataService = partyDataService; _documentsResolver = applicationDocumentsResolver ?? throw new ArgumentNullException(nameof(applicationDocumentsResolver)); _offerUtility = offerUtility ?? throw new ArgumentNullException(nameof(offerUtility)); _requestFactory = requestFactory ?? throw new ArgumentNullException(nameof(requestFactory)); _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); }
public ApplicationDocumentsResolver(IConfigurationService configurationService, MessageEventFactory messageEventFactory, ILogger <ApplicationDocumentsResolver> logger, MicroserviceCommon.Services.IContentService contentService, IEventBus bus) { _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _contentService = contentService ?? throw new ArgumentNullException(nameof(contentService)); _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); }
public UpdateApplicationDocumentsStatusCommandHandler( IApplicationDocumentRepository applicationDocumentRepository, MessageEventFactory messageEventFactory, IEventBus bus, ILogger <UpdateApplicationDocumentsStatusCommandHandler> logger) { this._applicationDocumentRepository = applicationDocumentRepository; _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _messageEventFactory = messageEventFactory; _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public PutExtendedPartyCommandHandler(IApplicationRepository applicationRepository, IMediator mediator, IEventBus eventBus, ILogger <PutExtendedPartyCommand> logger, MessageEventFactory messageEventFactory, IAuditClient auditClient) { _applicationRepository = applicationRepository; _mediator = mediator; _eventBus = eventBus; _logger = logger; _messageEventFactory = messageEventFactory; _auditClient = auditClient; }
public ArrangementRequestsAvailabilityCommandHandler( IArrangementRequestRepository arrangementRequestRepository, IApplicationRepository applicationRepository, IEventBus eventBus, MessageEventFactory eventFactory) { _arrangementRequestRepository = arrangementRequestRepository ?? throw new ArgumentNullException(nameof(arrangementRequestRepository)); _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _eventFactory = eventFactory ?? throw new ArgumentNullException(nameof(eventFactory)); }
public AddArrangementRequestCommandHandler( IApplicationRepository applicationRepository, IArrangementRequestRepository requestRepository, MessageEventFactory messageEventFactory, IEventBus eventBus) { _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _requestRepository = requestRepository ?? throw new ArgumentNullException(nameof(requestRepository)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); }
public DeleteArrangementRequestCommandHandler(IMediator mediator, IArrangementRequestRepository arrangementRequestRepository, ILogger <DeleteArrangementRequestCommand> logger, IAuditClient auditClient, IApplicationRepository applicationRepository, MessageEventFactory messageEventFactory, IEventBus eventBus) { _arrangementRequestRepository = arrangementRequestRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); }
public PatchApplicationCommandHandler( IApplicationRepository applicationRepository, IEventBus eventBus, ILogger <PatchApplicationCommand> logger, MessageEventFactory messageEventFactory, IAuditClient auditClient) { this._applicationRepository = applicationRepository; _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _messageEventFactory = messageEventFactory; _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); }
public InitiateGdprProcessCommandHandler( IMediator mediator, ApiEndPoints apiEndPoints, ILogger <InitiateGdprProcessCommand> logger, IEventBus eventBus, MessageEventFactory messageEventFactory) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _apiEndPoints = apiEndPoints ?? throw new ArgumentNullException(nameof(apiEndPoints)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); this._messageEventFactory = messageEventFactory; }
public ProductKindsCommandHandler( IArrangementRequestRepository arrangementRequestRepository, IApplicationRepository applicationRepository, IEventBus eventBus, MessageEventFactory eventFactory, ILogger <ProductKindsCommandHandler> logger) { _arrangementRequestRepository = arrangementRequestRepository ?? throw new ArgumentNullException(nameof(arrangementRequestRepository)); _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _eventFactory = eventFactory ?? throw new ArgumentNullException(nameof(eventFactory)); _logger = logger; }
public PutExtendedPartyCommandHandler(IApplicationRepository applicationRepository, IArrangementRequestRepository arrangementRequestRepository, IMediator mediator, IEventBus eventBus, ILogger <PutExtendedPartyCommand> logger, MessageEventFactory messageEventFactory) { _applicationRepository = applicationRepository; _arrangementRequestRepository = arrangementRequestRepository; _mediator = mediator; _eventBus = eventBus; _logger = logger; _messageEventFactory = messageEventFactory; }
public AddSecuredDealLinkCommandCommandHandler(IMediator mediator, IArrangementRequestRepository arrangementRequestRepository, IEventBus bus, IConfigurationService configurationService, MessageEventFactory messageEventFactory, ILogger <AddSecuredDealLinkCommand> logger ) { this._arrangementRequestRepository = arrangementRequestRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); this._messageEventFactory = messageEventFactory; }
public CancelApplicationCommandHandler( IMediator mediator, IApplicationRepository applicationRepository, IEventBus eventBus, ILogger <UpdateApplicationStatusCommand> logger, MessageEventFactory messageEventFactory, IAuditClient auditClient ) { this._applicationRepository = applicationRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _messageEventFactory = messageEventFactory; _auditClient = auditClient; }
public ChangePortfolioAcceptCommandHandler( IMediator mediator, IApplicationRepository applicationRepository, IChangePortfolioRepository changePortfolioRepository, IEventBus eventBus, ILogger <ChangePortfolioAcceptCommand> logger, MessageEventFactory messageEventFactory, IAuditClient auditClient) { this._applicationRepository = applicationRepository; this._changePortfolioRepository = changePortfolioRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _messageEventFactory = messageEventFactory; _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient));; }
public ContinueApplicationCommandHandler(IApplicationRepository applicationRepository, IMediator mediator, IEventBus eventBus, ILogger <ContinueApplicationCommand> logger, MessageEventFactory messageEventFactory, IConfigurationService configurationService, IInvolvedPartyRepository involvedPartyRepository, IAuditClient auditClient) { _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository));; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));; _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus));; _logger = logger ?? throw new ArgumentNullException(nameof(logger));; _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _involvedPartyRepository = involvedPartyRepository ?? throw new ArgumentNullException(nameof(involvedPartyRepository)); _auditClient = auditClient ?? throw new ArgumentNullException(nameof(involvedPartyRepository)); }
public ArrangementRequestRepository(OfferDBContext context, IConfigurationService configurationService, ApplicationDocumentsResolver documentsResolver, OfferPriceCalculation priceCalculator, MessageEventFactory messageEventFactory, IEventBus bus, ILogger <ArrangementRequestRepository> logger, IApplicationRepository applicationRepository, ArrangementRequestFactory requestFactory, IProductSnapshotRepository productSnapshotRepository) { _context = context ?? throw new ArgumentNullException(nameof(context)); _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _documentsResolver = documentsResolver ?? throw new ArgumentNullException(nameof(documentsResolver)); _priceCalculator = priceCalculator ?? throw new ArgumentNullException(nameof(priceCalculator)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _bus = bus ?? throw new ArgumentNullException(nameof(bus)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _requestFactory = requestFactory ?? throw new ArgumentNullException(nameof(requestFactory)); //_auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _productSnapshotRepository = productSnapshotRepository ?? throw new ArgumentNullException(nameof(productSnapshotRepository)); }
public InvolvedPartyRepository( OfferDBContext context, IMasterPartyDataService masterPartyDataService, IConfigurationService configurationService, ApplicationDocumentsResolver documentsResolver, MessageEventFactory messageEventFactory, IApplicationRepository applicationRepository, IEventBus eventBus, IAuditClient auditClient, ILogger <ApplicationRepository> logger) { _context = context ?? throw new ArgumentNullException(nameof(context)); _masterPartyDataService = masterPartyDataService ?? throw new ArgumentNullException(nameof(masterPartyDataService)); _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _documentsResolver = documentsResolver ?? throw new ArgumentNullException(nameof(documentsResolver)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); _applicationRepository = applicationRepository ?? throw new ArgumentNullException(nameof(applicationRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public CalculateNewExposureCommandHandler( IApplicationRepository applicationRepository, IEventBus eventBus, ILogger <InitiateOnlineOfferCommand> logger, ApiEndPoints apiEndPoints, MessageEventFactory messageEventFactory, IMasterPartyDataService masterPartyDataService, IConfigurationService configurationService, IHttpClientFactory httpClientFactory, IAuditClient auditClient) { this._applicationRepository = applicationRepository; _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _masterPartyDataService = masterPartyDataService ?? throw new ArgumentNullException(nameof(masterPartyDataService)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _apiEndPoints = apiEndPoints ?? throw new ArgumentNullException(nameof(apiEndPoints)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _messageEventFactory = messageEventFactory; _httpClientFactory = httpClientFactory; _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); }
public UpdateArrangementRequestCommandHandler(IMediator mediator, IArrangementRequestRepository arrangementRequestRepository, IConfigurationService configurationService, OfferPriceCalculation priceCalculator, IApplicationRepository applicationRepository, ILogger <UpdateArrangementRequestCommand> logger, CalculatorProvider calculatorProvider, IAuditClient auditClient, MessageEventFactory messageEventFactory, IEventBus eventBus) { this._arrangementRequestRepository = arrangementRequestRepository; this._applicationRepository = applicationRepository; _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); this.priceCalculator = priceCalculator; this._configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _calculatorProvider = calculatorProvider ?? throw new ArgumentNullException(nameof(calculatorProvider)); _auditClient = auditClient ?? throw new ArgumentNullException(nameof(auditClient)); _messageEventFactory = messageEventFactory ?? throw new ArgumentNullException(nameof(messageEventFactory)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); }