Пример #1
0
 public System.IAsyncResult BeginRemove(IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest request, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = request;
     System.IAsyncResult _result = base.BeginInvoke("Remove", _args, callback, asyncState);
     return(_result);
 }
Пример #2
0
 public void RemoveAsync(IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest request, object userState)
 {
     if ((this.onBeginRemoveDelegate == null))
     {
         this.onBeginRemoveDelegate = new BeginOperationDelegate(this.OnBeginRemove);
     }
     if ((this.onEndRemoveDelegate == null))
     {
         this.onEndRemoveDelegate = new EndOperationDelegate(this.OnEndRemove);
     }
     if ((this.onRemoveCompletedDelegate == null))
     {
         this.onRemoveCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRemoveCompleted);
     }
     base.InvokeAsync(this.onBeginRemoveDelegate, new object[] {
         request
     }, this.onEndRemoveDelegate, this.onRemoveCompletedDelegate, userState);
 }
Пример #3
0
 private System.IAsyncResult OnBeginRemove(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest request = ((IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest)(inValues[0]));
     return(((IndoorWorx.Library.TrainingSetTemplateServiceReference.ITrainingSetTemplateService)(this)).BeginRemove(request, callback, asyncState));
 }
Пример #4
0
 public void RemoveAsync(IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest request)
 {
     this.RemoveAsync(request, null);
 }
Пример #5
0
 System.IAsyncResult IndoorWorx.Library.TrainingSetTemplateServiceReference.ITrainingSetTemplateService.BeginRemove(IndoorWorx.Infrastructure.Requests.RemoveTemplateRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginRemove(request, callback, asyncState));
 }