public br.com.maplink.services.Address ToMapLinkAddress()
        {
            var city = new City
            {
                name = City,
                state = State
            };

            return new br.com.maplink.services.Address
            {
                city = city,
                street = Street,
                houseNumber = Number
            };
        }
 /// <remarks/>
 public void findCityAsync(City cidade, AddressOptions ao, string token, object userState) {
     if ((this.findCityOperationCompleted == null)) {
         this.findCityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnfindCityOperationCompleted);
     }
     this.InvokeAsync("findCity", new object[] {
                 cidade,
                 ao,
                 token}, this.findCityOperationCompleted, userState);
 }
 /// <remarks/>
 public void findCityAsync(City cidade, AddressOptions ao, string token) {
     this.findCityAsync(cidade, ao, token, null);
 }
 public CityLocationInfo findCity(City cidade, AddressOptions ao, string token) {
     object[] results = this.Invoke("findCity", new object[] {
                 cidade,
                 ao,
                 token});
     return ((CityLocationInfo)(results[0]));
 }
 /// <remarks/>
 public void findPOIAsync(string name, City city, ResultRange resultRange, string token, object userState) {
     if ((this.findPOIOperationCompleted == null)) {
         this.findPOIOperationCompleted = new System.Threading.SendOrPostCallback(this.OnfindPOIOperationCompleted);
     }
     this.InvokeAsync("findPOI", new object[] {
                 name,
                 city,
                 resultRange,
                 token}, this.findPOIOperationCompleted, userState);
 }
 /// <remarks/>
 public void findPOIAsync(string name, City city, ResultRange resultRange, string token) {
     this.findPOIAsync(name, city, resultRange, token, null);
 }
 public POIInfo findPOI(string name, City city, ResultRange resultRange, string token) {
     object[] results = this.Invoke("findPOI", new object[] {
                 name,
                 city,
                 resultRange,
                 token});
     return ((POIInfo)(results[0]));
 }