public static Task <IEnumerable <Address> > ReverseGeocodeAsync(this IAsyncGeocoder geoCoder, Location location) { if (location == null) { throw new NullReferenceException("location"); } return(geoCoder.ReverseGeocodeAsync(location.Latitude, location.Longitude)); }
public static Task <IEnumerable <Address> > ReverseGeocodeAsync(this IAsyncGeocoder geoCoder, Location location, CancellationToken cancellationToken) { if (location == null) { throw new ArgumentNullException("location"); } return(geoCoder.ReverseGeocodeAsync(location.Latitude, location.Longitude, cancellationToken)); }
public AsyncGeocoderTest() { Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en-us"); asyncGeocoder = CreateAsyncGeocoder(); }
public AsyncGeocoderTest() { Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en-us"); asyncGeocoder = CreateAsyncGeocoder(); }