Esempio n. 1
0
 public GooglePlaceDetailsApiClient(
     HttpClient httpClient
     , IGoogleUriProvider googleUriProvider
     )
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/place/details/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }
Esempio n. 2
0
 public GoogleDistanceMatrixApiClient(HttpClient httpClient, IGoogleUriProvider googleUriProvider)
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/distancematrix/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }
 public GoogleDirectionsApiClient(HttpClient httpClient, IGoogleUriProvider googleUriProvider)
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/directions/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }
 public GooglePlacePhotosApiCaller(HttpClient httpClient, IGoogleUriProvider googleUriProvider)
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/place/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }
 public GooglePlaceNearbySearchApiClient(HttpClient httpClient, IGoogleUriProvider googleUriProvider)
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/place/nearbysearch/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }
 public GooglePlaceSearchApiClient(HttpClient httpClient, IGoogleUriProvider googleUriProvider)
 {
     httpClient.BaseAddress = new Uri("https://maps.googleapis.com/maps/api/place/findplacefromtext/");
     _httpClient            = httpClient;
     _googleUriProvider     = googleUriProvider;
 }