public InvestInvestmentToolToAccountCommandHandler(IAccountTransactionRepository accountTransactionRepository,
                                                    IImsIntegrationEventService imsIntegrationEventService,
                                                    ILogger <InvestInvestmentToolToAccountCommandHandler> logger)
 {
     _accountTransactionRepository = accountTransactionRepository;
     _imsIntegrationEventService   = imsIntegrationEventService;
     _logger = logger;
 }
Пример #2
0
 public TransactionBehaviour(ImsContext dbContext,
                             IImsIntegrationEventService orderingIntegrationEventService,
                             ILogger <TransactionBehaviour <TRequest, TResponse> > logger)
 {
     _dbContext = dbContext ?? throw new ArgumentException(nameof(ImsContext));
     _imsIntegrationEventService = orderingIntegrationEventService ?? throw new ArgumentException(nameof(orderingIntegrationEventService));
     _logger = logger ?? throw new ArgumentException(nameof(ILogger));
 }
Пример #3
0
 public BuyInvestmentToolCommandHandler(IAccountTransactionRepository accountTransactionRepository,
                                        IImsIntegrationEventService imsIntegrationEventService,
                                        ILogger <BuyInvestmentToolCommandHandler> logger,
                                        IAccountRepository accountRepository)
 {
     _accountTransactionRepository = accountTransactionRepository;
     _imsIntegrationEventService   = imsIntegrationEventService;
     _logger            = logger;
     _accountRepository = accountRepository;
 }
 public WithdrawInvestmentToolFromAccountCommandHandler(IAccountTransactionRepository accountTransactionRepository,
                                                        IAccountRepository accountRepository,
                                                        IImsIntegrationEventService imsIntegrationEventService,
                                                        ILogger <WithdrawInvestmentToolFromAccountCommandHandler> logger)
 {
     _accountTransactionRepository = accountTransactionRepository;
     _accountRepository            = accountRepository;
     _imsIntegrationEventService   = imsIntegrationEventService;
     _logger = logger;
 }