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);
        }
Exemple #3
0
 public Base.Response <PlacesResult> DownloadDistricts(PlacesData county)
 {
     return(this.DownloadPlaces(this.Settings.NewQuery("districts/", county.WOEID.ToString())));
 }
Exemple #4
0
 public Base.Response <PlacesResult> DownloadCounty(PlacesData state)
 {
     return(this.DownloadPlaces(this.Settings.NewQuery("counties/", state.WOEID.ToString())));
 }
Exemple #5
0
 public Base.Response <PlacesResult> DownloadStates(PlacesData country)
 {
     return(this.DownloadPlaces(this.Settings.NewQuery("states/", country.WOEID.ToString())));
 }