Пример #1
0
        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
            };
        }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <remarks/>
 public void findCityAsync(City cidade, AddressOptions ao, string token) {
     this.findCityAsync(cidade, ao, token, null);
 }
Пример #4
0
 public CityLocationInfo findCity(City cidade, AddressOptions ao, string token) {
     object[] results = this.Invoke("findCity", new object[] {
                 cidade,
                 ao,
                 token});
     return ((CityLocationInfo)(results[0]));
 }
Пример #5
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);
 }
Пример #6
0
 /// <remarks/>
 public void findPOIAsync(string name, City city, ResultRange resultRange, string token) {
     this.findPOIAsync(name, city, resultRange, token, null);
 }
Пример #7
0
 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]));
 }