public GetAllMapsResponse GetAllMaps(GetAllMapsRequest request) { object[] results = this.Invoke("GetAllMaps", new object[] { request }); return((GetAllMapsResponse)(results[0])); }
/// <remarks/> public void GetAllMapsAsync(GetAllMapsRequest request, object userState) { if ((this.GetAllMapsOperationCompleted == null)) { this.GetAllMapsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllMapsOperationCompleted); } this.InvokeAsync("GetAllMaps", new object[] { request }, this.GetAllMapsOperationCompleted, userState); }
/// <remarks/> public void GetAllMapsAsync(GetAllMapsRequest request) { this.GetAllMapsAsync(request, null); }
public GetAllMapsResult GetAllMaps() { var service = new DOMAService(); service.Url = WebServiceUrl; var request = new GetAllMapsRequest { Username = Username, Password = Password }; var response = service.GetAllMaps(request); var result = new GetAllMapsResult { ErrorMessage = response.ErrorMessage, Success = response.Success, }; if (response.Success) { result.Maps = new List<MapInfo>(); foreach (var map in response.Maps) { result.Maps.Add(TranslateMapInfo(map)); } } return result; }
/// <remarks/> public void GetAllMapsAsync(GetAllMapsRequest request, object userState) { if ((this.GetAllMapsOperationCompleted == null)) { this.GetAllMapsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllMapsOperationCompleted); } this.InvokeAsync("GetAllMaps", new object[] { request}, this.GetAllMapsOperationCompleted, userState); }
public GetAllMapsResponse GetAllMaps(GetAllMapsRequest request) { object[] results = this.Invoke("GetAllMaps", new object[] { request}); return ((GetAllMapsResponse)(results[0])); }