public void DownloadDistrictsAsync(PlacesData county, object userArgs) { PlacesDownloadSettings settings = (PlacesDownloadSettings)this.Settings.Clone(); settings.Collection = "districts/"; settings.Query = county.WOEID.ToString(); base.DownloadAsync(settings, userArgs); }
public void DownloadCountyAsync(PlacesData state, object userArgs) { PlacesDownloadSettings settings = (PlacesDownloadSettings)this.Settings.Clone(); settings.Collection = "counties/"; settings.Query = state.WOEID.ToString(); base.DownloadAsync(settings, userArgs); }
public Base.Response <PlacesResult> DownloadDistricts(PlacesData county) { return(this.DownloadPlaces(this.Settings.NewQuery("districts/", county.WOEID.ToString()))); }
public Base.Response <PlacesResult> DownloadCounty(PlacesData state) { return(this.DownloadPlaces(this.Settings.NewQuery("counties/", state.WOEID.ToString()))); }
public Base.Response <PlacesResult> DownloadStates(PlacesData country) { return(this.DownloadPlaces(this.Settings.NewQuery("states/", country.WOEID.ToString()))); }