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