Esempio n. 1
0
 public System.IAsyncResult BeginSave(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = request;
     System.IAsyncResult _result = base.BeginInvoke("Save", _args, callback, asyncState);
     return(_result);
 }
Esempio n. 2
0
 public void SaveAsync(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request, object userState)
 {
     if ((this.onBeginSaveDelegate == null))
     {
         this.onBeginSaveDelegate = new BeginOperationDelegate(this.OnBeginSave);
     }
     if ((this.onEndSaveDelegate == null))
     {
         this.onEndSaveDelegate = new EndOperationDelegate(this.OnEndSave);
     }
     if ((this.onSaveCompletedDelegate == null))
     {
         this.onSaveCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSaveCompleted);
     }
     base.InvokeAsync(this.onBeginSaveDelegate, new object[] {
         request
     }, this.onEndSaveDelegate, this.onSaveCompletedDelegate, userState);
 }
Esempio n. 3
0
 private System.IAsyncResult OnBeginSave(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request = ((IndoorWorx.Infrastructure.Requests.SaveTemplateRequest)(inValues[0]));
     return(((IndoorWorx.Library.TrainingSetTemplateServiceReference.ITrainingSetTemplateService)(this)).BeginSave(request, callback, asyncState));
 }
Esempio n. 4
0
 public void SaveAsync(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request)
 {
     this.SaveAsync(request, null);
 }
Esempio n. 5
0
 System.IAsyncResult IndoorWorx.Library.TrainingSetTemplateServiceReference.ITrainingSetTemplateService.BeginSave(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginSave(request, callback, asyncState));
 }