public ExternalEndpointHealthCheck(IOptions <ServiceSettings> options) { settings = options.Value; }
public WeatherClient(HttpClient httpClient, IOptions <ServiceSettings> options) { this.httpClient = httpClient; settings = options.Value; }