Example #1
0
 public PlacesGeocode()
 {
     this.authConfig   = new PlacesConfig();
     this.httpProvider = new PlacesHttpProvider(authConfig);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PlacesHttpProvider"/> class.
 /// </summary>
 /// <param name="config"> A PlacesConfig instance. </param>
 public PlacesHttpProvider(PlacesConfig config)
 {
     this.client     = new HttpClient();
     this.authConfig = config;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PlacesAutocomplete"/> class.
 /// </summary>
 /// <param name="apikey"> The google api key. </param>
 public PlacesAutocomplete()
 {
     this.authConfig   = new PlacesConfig();
     this.httpProvider = new PlacesHttpProvider(authConfig);
 }