/// <summary> /// Creates Discount Controller. /// </summary> /// <param name="logger"></param> /// <param name="discounts"></param> /// <param name="users"></param> /// <param name="integrationEventService"></param> public DiscountsController(ILogger <DiscountsController> logger, IDiscountRepository discounts, IUserRepository users, IIntegrationEventService integrationEventService) { _logger = logger; _discounts = discounts; _users = users; _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); }
public ValidateOrAddBuyerAggregateWhenOrderStartedDomainEventHandler(ILogger <ValidateOrAddBuyerAggregateWhenOrderStartedDomainEventHandler> logger, IBuyerRepository buyerRepository, IIntegrationEventService integrationEventService) { _buyerRepository = buyerRepository ?? throw new ArgumentNullException(nameof(buyerRepository)); _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public AccountController(IAuthContext authContext, IHttpClientFactory httpClientFactory, IAccountDataService accountDataService, IIntegrationEventService integrationEventService, IServiceProvider serviceProvider, IUnitOfWork uow) { _authContext = authContext; _httpClientFactory = httpClientFactory; _accountDataService = accountDataService; _integrationEventService = serviceProvider.GetRequiredService <IIntegrationEventService>(); _uow = uow; }
public OrdersCommandHandler(IIntegrationEventService integrationEventService, IOrderRepository orderRepository, ILogger <OrdersCommandHandler> logger) { _orderRepository = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository)); _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public TransactionBehaviour(StackContext dbContext, IIntegrationEventService integrationEventService, ILogger <TransactionBehaviour <TRequest, TResponse> > logger) { _dbContext = dbContext ?? throw new ArgumentException(nameof(StackContext)); _integrationEventService = integrationEventService ?? throw new ArgumentException(nameof(integrationEventService)); _logger = logger ?? throw new ArgumentException(nameof(ILogger)); }
public NatWestClientOperationsBusinessLogic(INatWestClientOperationsService bankService, IDistributedCachingService cachingService, IAuthContext authContext, IOptions <ClientInformations> clientInformations, IIntegrationEventService integrationEventService) { _bankService = bankService; _cachingService = cachingService; _authContext = authContext; _rackleClientCacheKey = clientInformations.Value.RackleClientCacheKey; _natWestRedirectUri = clientInformations.Value.NatWest.ClientInfo.RedirectUri; _integrationEventService = integrationEventService; }
public CreateOrderCommandHandler( IOrderRepository orderRepository, IIntegrationEventService integrationEventService, IUnitOfWork unitOfWork) { _orderRepository = orderRepository; _integrationEventService = integrationEventService; _unitOfWork = unitOfWork; }
public HumanVerifiedDomainEventHandler(IIntegrationEventService integrationEventService) { this.integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); }
public UpdateBusinessTierCommandHandler(IBusinessTierRepository repository, IMapper mapper, IIntegrationEventService integrationEventService) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); }
public CategoriesController(ApplicationContext context, IIntegrationEventService integrationEventService) { _context = context; _integrationEventService = integrationEventService; }
public TransactionBehavior(DbContext context, IIntegrationEventService integrationEventService) { _dbContext = context; _integrationEventService = integrationEventService; }
public TransactionBehavior(AccountContext context, IIntegrationEventService integrationEventService, ILogger <TransactionBehavior <TRequest, TResponse> > logger) { _logger = logger; _context = context; _integrationEventService = integrationEventService; }
public AccountController(IConfiguration configuration, IIntegrationEventService integrationEventService) { this.config = configuration; this.integrationEventService = integrationEventService; }
public CreateFeatureCommandHandler(IFeatureRepository repository, IMapper mapper, IIntegrationEventService integrationEventService) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _integrationEventService = integrationEventService; }
public PromocodeAddedIntegrationEventHandler(IIntegrationEventService integrationEventService, ILogger <PromocodeAddedIntegrationEventHandler <TContent> > logger) { _integrationEventService = integrationEventService; _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); }
public DestinationDataSensorsAddedIntegrationEventHandler(IIntegrationEventService integrationEventService, ILogger <DestinationDataSensorsAddedIntegrationEventHandler <TContent> > logger) { _integrationEventService = integrationEventService; _logger = logger; }
public CreateAnalysisProfileCommandHandler(IAnalysisProfileRepository repository, IMapper mapper, IIntegrationEventService integrationEventService) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService)); }
public SimulationSourceDataSensorsAddedIntegrationEventHandler(IIntegrationEventService integrationEventService, ILogger <SimulationSourceDataSensorsAddedIntegrationEventHandler <TContent> > logger) { _integrationEventService = integrationEventService; _logger = logger; }