/// <summary>
 /// Returns the <see cref="PlacesHttpService"/> instance of the specified Google <paramref name="service"/>.
 /// </summary>
 /// <param name="service">The Google service.</param>
 /// <returns>An instance of <see cref="PlacesHttpService"/>.</returns>
 /// <remarks>
 /// The <see cref="GoogleService"/> instance keeps an internal registry ensuring that calling this method
 /// multiple times for the same <paramref name="service"/> will result in the same instance of
 /// <see cref="PlacesHttpService"/>.
 ///
 /// Specifically the <see cref="PlacesHttpService"/> instance will be created the first time this method is
 /// called, while any subsequent calls to this method will result in the instance saved registry being
 /// returned.
 /// </remarks>
 public static PlacesHttpService Places(this GoogleService service)
 {
     if (service == null)
     {
         throw new ArgumentNullException(nameof(service));
     }
     return(service.GetApiService(() => new PlacesHttpService(service)));
 }
 /// <summary>
 /// Returns the <see cref="GeocodingService"/> instance of the specified Google <paramref name="service"/>.
 /// </summary>
 /// <param name="service">The Google service.</param>
 /// <returns>An instance of <see cref="GeocodingService"/>.</returns>
 /// <remarks>
 /// The <see cref="GoogleService"/> instance keeps an internal registry ensuring that calling this method
 /// multiple times for the same <paramref name="service"/> will result in the same instance of
 /// <see cref="GeocodingService"/>.
 ///
 /// Specifically the <see cref="GeocodingService"/> instance will be created the first time this method is
 /// called, while any subsequent calls to this method will result in the instance saved registry being
 /// returned.
 /// </remarks>
 public static GeocodingService Geocoding(this GoogleService service)
 {
     if (service == null)
     {
         throw new ArgumentNullException(nameof(service));
     }
     return(service.GetApiService(() => new GeocodingService(service)));
 }
 public static AnalyticsService Analytics(this GoogleService service)
 {
     if (service == null)
     {
         throw new ArgumentNullException(nameof(service));
     }
     return(service.GetApiService(() => new AnalyticsService(service)));
 }