public async Task <Weather> GetWeather(LocationData location)
 {
     return(await WeatherProvider.GetWeather(location));
 }
 public async Task <List <WeatherAlert> > GetAlerts(LocationData location)
 {
     return(await WeatherProvider.GetAlerts(location));
 }
 public async Task <string> UpdateLocationQuery(LocationData location)
 {
     return(await WeatherProvider.UpdateLocationQuery(location));
 }
 public async Task UpdateLocationData(LocationData location)
 {
     await WeatherProvider.UpdateLocationData(location);
 }
 public abstract Task <String> UpdateLocationQuery(LocationData location);
Пример #6
0
 public WeatherDataLoader(LocationData location, IWeatherLoadedListener listener, IWeatherErrorListener errorListener)
     : this(location, listener)
 {
     errorCallback = errorListener;
 }
Пример #7
0
 public WeatherDataLoader(LocationData location, IWeatherLoadedListener listener)
     : this(location)
 {
     callback = listener;
 }