public CompaniesHouseClient(ICompaniesHouseSettings settings) { var httpClientFactory = new HttpClientFactory(settings); _companiesHouseSearchCompanyClient = new CompaniesHouseSearchCompanyClient(httpClientFactory, new CompanySearchUriBuilder()); _companiesHouseCompanyProfileClient = new CompaniesHouseCompanyProfileClient(httpClientFactory, new CompanyProfileUriBuilder()); }
public CompaniesHouseClient(ICompaniesHouseSettings settings) { var httpClientFactory = new HttpClientFactory(settings); _companiesHouseSearchCompanyClient = new CompaniesHouseSearchCompanyClient(httpClientFactory, new CompanySearchUriBuilder()); }