public ExternalEndpointHealthCheck(IOptions <ServiceSettings> options) { serviceSettings = options.Value; }
public WeatherClient(HttpClient httpClient, IOptions <ServiceSettings> options) { _httpClient = httpClient; _settings = options.Value; }