Exemplo n.º 1
0
 /// <summary>
 /// Resolves the given location search term and creates a new weather report if the location could be resolved.
 /// Returns the weather report to the caller.
 /// </summary>
 public async Task <WeatherReport> CreateReportFromLocation(string _location)
 {
     return(await WeatherReport.FromLocation(_location, authorizationProvider));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new weather report and returns it to the caller.
 /// </summary>
 public WeatherReport CreateReport(string _woeid)
 {
     return(WeatherReport.FromWoeid(_woeid, authorizationProvider));
 }