public GetSingleCohortRequestHandler(
     IValidator <GetSingleCohortRequest> validator,
     ICommitmentV2Service commitmentV2Service,
     IHashingService hashingService,
     ILog logger)
 {
     _validator           = validator;
     _commitmentV2Service = commitmentV2Service;
     _hashingService      = hashingService;
     _logger = logger;
 }
예제 #2
0
 public GetApprenticeshipsHandler(
     IValidator <GetApprenticeshipsRequest> validator,
     ILog logger,
     ICommitmentV2Service commitmentV2Service,
     IHashingService hashingService)
 {
     _validator           = validator;
     _logger              = logger;
     _commitmentV2Service = commitmentV2Service;
     _hashingService      = hashingService;
 }
예제 #3
0
 public CommitmentsV2ServiceWithTimeout(ICommitmentV2Service commitmentsV2Service,
                                        IReadOnlyPolicyRegistry <string> pollyRegistry)
 {
     _commitmentsV2Service = commitmentsV2Service;
     _pollyPolicy          = pollyRegistry.Get <IAsyncPolicy>(Constants.DefaultServiceTimeout);
 }