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); }
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); }
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)); }
public void SaveAsync(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request) { this.SaveAsync(request, null); }
System.IAsyncResult IndoorWorx.Library.TrainingSetTemplateServiceReference.ITrainingSetTemplateService.BeginSave(IndoorWorx.Infrastructure.Requests.SaveTemplateRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSave(request, callback, asyncState)); }