示例#1
0
 public ServiceProviderOpenWeatherMapClient(
     IOpenWeatherMapServiceProvider openWeatherMapServiceProvider,
     IMapper mapper)
 {
     _openWeatherMapServiceProvider = openWeatherMapServiceProvider;
     _mapper = mapper;
 }
 public ServiceProviderClientFactory(
     IOpenWeatherMapServiceProvider openWeatherMapServiceProvider,
     IWeatherBitServiceProvider weatherBitServiceProvider,
     IMapper mapper)
 {
     _openWeatherMapServiceProvider = openWeatherMapServiceProvider;
     _weatherBitServiceProvider     = weatherBitServiceProvider;
     _mapper = mapper;
 }