Beispiel #1
0
 public OpenWeatherMapWebClient(IConfiguration configuration, IWrapper <OpenWeatherMapClient> internalClient, IAwaitTaskCreator awaitTaskCreator)
 {
     HttpClientTimeout = configuration.GeTimeSpan("httpClient:Timeout");
     InternalClient    = internalClient;
     AwaitTaskCreator  = awaitTaskCreator;
 }
 public WeatherResponseFactory(IAwaitTaskCreator awaitTaskCreator)
 {
     AwaitTaskCreator = awaitTaskCreator;
 }
Beispiel #3
0
 public GoogleTimeZonesWebClient(IConfiguration configuration, ITimeZoneResponseModelFactory timeZoneResponseModelFactory, IAwaitTaskCreator awaitTaskCreator)
 {
     HttpClientTimeout            = configuration.GeTimeSpan("httpClient:Timeout");
     TimeZoneResponseModelFactory = timeZoneResponseModelFactory;
     AwaitTaskCreator             = awaitTaskCreator;
 }