Beispiel #1
0
 public CreateAccountCommandHandler(
     IAccountRepository accountRepository,
     IMediator mediator,
     IValidator <CreateAccountCommand> validator,
     IHashingService hashingService,
     IPublicHashingService publicHashingService,
     IAccountLegalEntityPublicHashingService accountLegalEntityPublicHashingService,
     IGenericEventFactory genericEventFactory,
     IAccountEventFactory accountEventFactory,
     IMembershipRepository membershipRepository,
     IEmployerAgreementRepository employerAgreementRepository,
     IEventPublisher eventPublisher)
 {
     _accountRepository    = accountRepository;
     _mediator             = mediator;
     _validator            = validator;
     _hashingService       = hashingService;
     _publicHashingService = publicHashingService;
     _accountLegalEntityPublicHashingService = accountLegalEntityPublicHashingService;
     _genericEventFactory         = genericEventFactory;
     _accountEventFactory         = accountEventFactory;
     _membershipRepository        = membershipRepository;
     _employerAgreementRepository = employerAgreementRepository;
     _eventPublisher = eventPublisher;
 }
Beispiel #2
0
 public CreateCohortOrchestrator(
     IMediator mediator,
     IHashingService hashingService,
     IProviderCommitmentsLogger logger,
     IPublicHashingService publicHashingService) : base(mediator, hashingService, logger)
 {
     _publicHashingService = publicHashingService;
 }
 public SendTransferConnectionInvitationQueryHandler(
     Lazy <EmployerAccountsDbContext> db,
     IConfigurationProvider configurationProvider,
     IPublicHashingService publicHashingService)
 {
     _db = db;
     _configurationProvider = configurationProvider;
     _publicHashingService  = publicHashingService;
 }
Beispiel #4
0
 public EmployerAccountsDbBuilder(
     DbBuilderDependentRepositories dependentRepositories,
     IHashingService hashingService,
     IPublicHashingService publicHashingService,
     EmployerAccountsDbContext dbContext)
 {
     DependentRepositories = dependentRepositories;
     _hashingService       = hashingService;
     _publicHashingService = publicHashingService;
     _dbContext            = dbContext;
 }
 public GetEmployerAccountTransactionsHandler(
     IDasLevyService dasLevyService,
     IValidator <GetEmployerAccountTransactionsQuery> validator,
     ILog logger,
     IHashingService hashingService,
     IPublicHashingService publicHashingService)
 {
     _dasLevyService       = dasLevyService;
     _validator            = validator;
     _logger               = logger;
     _hashingService       = hashingService;
     _publicHashingService = publicHashingService;
 }
 public SendTransferConnectionInvitationCommandHandler(
     IEmployerAccountRepository employerAccountRepository,
     IPublicHashingService publicHashingService,
     ITransferAllowanceService transferAllowanceService,
     ITransferConnectionInvitationRepository transferConnectionInvitationRepository,
     IUserAccountRepository userRepository)
 {
     _employerAccountRepository = employerAccountRepository;
     _publicHashingService      = publicHashingService;
     _transferAllowanceService  = transferAllowanceService;
     _transferConnectionInvitationRepository = transferConnectionInvitationRepository;
     _userRepository = userRepository;
 }
Beispiel #7
0
        public EmployerAccountsDbBuilder(
            IContainer container
            )
        {
            _container = container;

            _configuration = ConfigurationTestHelper.GetConfiguration <EmployerAccountsConfiguration>(ServiceName);

            _hashingService       = _container.GetInstance <IHashingService>();
            _publicHashingService = _container.GetInstance <IPublicHashingService>();

            _dbContext = new EmployerAccountsDbContext(_configuration.DatabaseConnectionString);

            _lazyAccountRepository = new  Lazy <IAccountRepository>(buildAccountRepository);
            _lazyUserRepository    = new Lazy <IUserRepository>(buildUserRepository);
        }
 public GetTransferTransactionDetailsQueryHandler(EmployerFinanceDbContext dbContext,
                                                  IPublicHashingService publicHashingService)
 {
     _dbContext            = dbContext;
     _publicHashingService = publicHashingService;
 }
 public CommitmentMapper(IHashingService hashingService, IFeatureToggleService featureToggleService, IPublicHashingService publicHashingService)
 {
     _hashingService       = hashingService;
     _featureToggleService = featureToggleService;
     _publicHashingService = publicHashingService;
 }