public GetAccountBalanceHandler(IAccountProjectionService accountProjectionService, ICurrentBalanceRepository currentBalanceRepository, ILog logger, ITelemetry telemetry)
 {
     _accountProjectionService = accountProjectionService;
     _currentBalanceRepository = currentBalanceRepository ?? throw new ArgumentNullException(nameof(currentBalanceRepository));
     _logger    = logger ?? throw new ArgumentNullException(nameof(logger));
     _telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
 }
 public BuildAccountProjectionHandler(IAccountProjectionRepository accountProjectionRepository, IAccountProjectionService accountProjectionService, IApplicationConfiguration config, ITelemetry telemetry, IExpiredFundsService expiredFundsService)
 {
     _accountProjectionRepository = accountProjectionRepository ?? throw new ArgumentNullException(nameof(accountProjectionRepository));
     _config    = config ?? throw new ArgumentNullException(nameof(config));
     _telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
     _accountProjectionService = accountProjectionService ?? throw new ArgumentNullException(nameof(accountProjectionService));
     _expiredFundsService      = expiredFundsService ?? throw new ArgumentNullException(nameof(expiredFundsService));
 }
Пример #3
0
 public GetAccountExpiringFundsQueryHandler(IValidator <GetAccountExpiringFundsQuery> validator, IAccountProjectionService service)
 {
     _validator = validator;
     _service   = service;
 }
 public GetAccountProjectionSummaryQueryHandler(IValidator <GetAccountProjectionSummaryQuery> validator, IAccountProjectionService service)
 {
     _validator = validator;
     _service   = service;
 }