コード例 #1
0
 /// <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));
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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));
 }
コード例 #5
0
 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));
 }
コード例 #6
0
 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;
 }
コード例 #7
0
 public CreateOrderCommandHandler(
     IOrderRepository orderRepository,
     IIntegrationEventService integrationEventService,
     IUnitOfWork unitOfWork)
 {
     _orderRepository         = orderRepository;
     _integrationEventService = integrationEventService;
     _unitOfWork = unitOfWork;
 }
コード例 #8
0
 public HumanVerifiedDomainEventHandler(IIntegrationEventService integrationEventService)
 {
     this.integrationEventService = integrationEventService ?? throw new ArgumentNullException(nameof(integrationEventService));
 }
コード例 #9
0
 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));
 }
コード例 #10
0
 public CategoriesController(ApplicationContext context, IIntegrationEventService integrationEventService)
 {
     _context = context;
     _integrationEventService = integrationEventService;
 }
コード例 #11
0
 public TransactionBehavior(DbContext context, IIntegrationEventService integrationEventService)
 {
     _dbContext = context;
     _integrationEventService = integrationEventService;
 }
コード例 #12
0
 public TransactionBehavior(AccountContext context, IIntegrationEventService integrationEventService, ILogger <TransactionBehavior <TRequest, TResponse> > logger)
 {
     _logger  = logger;
     _context = context;
     _integrationEventService = integrationEventService;
 }
コード例 #13
0
 public AccountController(IConfiguration configuration, IIntegrationEventService integrationEventService)
 {
     this.config = configuration;
     this.integrationEventService = integrationEventService;
 }
コード例 #14
0
 public CreateFeatureCommandHandler(IFeatureRepository repository, IMapper mapper, IIntegrationEventService integrationEventService)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
     _mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _integrationEventService = integrationEventService;
 }
コード例 #15
0
 public PromocodeAddedIntegrationEventHandler(IIntegrationEventService integrationEventService,
                                              ILogger <PromocodeAddedIntegrationEventHandler <TContent> > logger)
 {
     _integrationEventService = integrationEventService;
     _logger = logger ?? throw new System.ArgumentNullException(nameof(logger));
 }
コード例 #16
0
 public DestinationDataSensorsAddedIntegrationEventHandler(IIntegrationEventService integrationEventService,
                                                           ILogger <DestinationDataSensorsAddedIntegrationEventHandler <TContent> > logger)
 {
     _integrationEventService = integrationEventService;
     _logger = logger;
 }
コード例 #17
0
 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));
 }
コード例 #18
0
 public SimulationSourceDataSensorsAddedIntegrationEventHandler(IIntegrationEventService integrationEventService,
                                                                ILogger <SimulationSourceDataSensorsAddedIntegrationEventHandler <TContent> > logger)
 {
     _integrationEventService = integrationEventService;
     _logger = logger;
 }