Exemple #1
0
 public GoogleMapRoutes(
     HttpClient httpClient,
     GoogleMapConfig config)
 {
     this.httpClient = httpClient;
     this.config     = config;
 }
Exemple #2
0
        public GoogleMapClient(
            HttpClient httpClient,
            IntegrationConfig config)
        {
            this.httpClient = httpClient;
            this.config     = config.GoogleMap;

            this.Routes   = new GoogleMapRoutes(this.httpClient, this.config);
            this.Places   = new GoogleMapPlaces(this.httpClient, this.config);
            this.Hamilton = new GoogleMapHamilton(new GoogleMapRoutes(this.httpClient, this.config));
        }