public CourseDirectoryFaCApiService(IMapper mapper, FAC.ICourseSearchApiService apiService, IApplicationLogger applicationLogger, ITolerancePolicy tolerancePolicy)
 {
     this.mapper            = mapper;
     this.apiService        = apiService;
     this.applicationLogger = applicationLogger;
     this.tolerancePolicy   = tolerancePolicy;
 }
 public AzSearchService(ISearchServiceClient searchClient, ISearchIndexClient indexClient, ISuggesterBuilder suggesterBuilder, ITolerancePolicy policy, IWeightingBuilder weightingBuilder)
 {
     this.searchClient     = searchClient;
     this.indexClient      = indexClient;
     this.suggesterBuilder = suggesterBuilder;
     this.policy           = policy;
     this.weightingBuilder = weightingBuilder;
 }
 public CourseSearchService(
     ICourseOpportunityBuilder courseOpportunityBuilder,
     IServiceHelper serviceHelper,
     IAuditRepository auditRepository,
     IApplicationLogger applicationLogger,
     ITolerancePolicy tolerancePolicy)
 {
     this.courseOpportunityBuilder = courseOpportunityBuilder;
     this.auditRepository          = auditRepository;
     this.serviceHelper            = serviceHelper;
     this.applicationLogger        = applicationLogger;
     this.tolerancePolicy          = tolerancePolicy;
 }
Example #4
0
 public AzSearchServiceTests()
 {
     policy = new TolerancePolicy(fakeLogger, strategy);
 }
 public HttpClientService(ITolerancePolicy policy)
 {
     this.policy = policy;
 }