Esempio n. 1
0
        public GetAllMapsResponse GetAllMaps(GetAllMapsRequest request)
        {
            object[] results = this.Invoke("GetAllMaps", new object[] {
                request
            });

            return((GetAllMapsResponse)(results[0]));
        }
Esempio n. 2
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);
 }
Esempio n. 3
0
 /// <remarks/>
 public void GetAllMapsAsync(GetAllMapsRequest request)
 {
     this.GetAllMapsAsync(request, null);
 }
Esempio n. 4
0
        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;
        }
Esempio n. 5
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);
 }
Esempio n. 6
0
 /// <remarks/>
 public void GetAllMapsAsync(GetAllMapsRequest request) {
     this.GetAllMapsAsync(request, null);
 }
Esempio n. 7
0
 public GetAllMapsResponse GetAllMaps(GetAllMapsRequest request) {
     object[] results = this.Invoke("GetAllMaps", new object[] {
                 request});
     return ((GetAllMapsResponse)(results[0]));
 }