public System.IAsyncResult BeginCreateTrainingSet(IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest request, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = request; System.IAsyncResult _result = base.BeginInvoke("CreateTrainingSet", _args, callback, asyncState); return(_result); }
public void CreateTrainingSetAsync(IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest request, object userState) { if ((this.onBeginCreateTrainingSetDelegate == null)) { this.onBeginCreateTrainingSetDelegate = new BeginOperationDelegate(this.OnBeginCreateTrainingSet); } if ((this.onEndCreateTrainingSetDelegate == null)) { this.onEndCreateTrainingSetDelegate = new EndOperationDelegate(this.OnEndCreateTrainingSet); } if ((this.onCreateTrainingSetCompletedDelegate == null)) { this.onCreateTrainingSetCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateTrainingSetCompleted); } base.InvokeAsync(this.onBeginCreateTrainingSetDelegate, new object[] { request }, this.onEndCreateTrainingSetDelegate, this.onCreateTrainingSetCompletedDelegate, userState); }
private System.IAsyncResult OnBeginCreateTrainingSet(object[] inValues, System.AsyncCallback callback, object asyncState) { IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest request = ((IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest)(inValues[0])); return(((IndoorWorx.Library.TrainingSetServiceReference.ITrainingSetService)(this)).BeginCreateTrainingSet(request, callback, asyncState)); }
public void CreateTrainingSetAsync(IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest request) { this.CreateTrainingSetAsync(request, null); }
System.IAsyncResult IndoorWorx.Library.TrainingSetServiceReference.ITrainingSetService.BeginCreateTrainingSet(IndoorWorx.Infrastructure.Requests.CreateTrainingSetRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginCreateTrainingSet(request, callback, asyncState)); }