public System.IAsyncResult BeginAddTemplateToLibrary(IndoorWorx.Infrastructure.Requests.AddTemplateRequest request, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = request; System.IAsyncResult _result = base.BeginInvoke("AddTemplateToLibrary", _args, callback, asyncState); return(_result); }
public void AddTemplateToLibraryAsync(IndoorWorx.Infrastructure.Requests.AddTemplateRequest request, object userState) { if ((this.onBeginAddTemplateToLibraryDelegate == null)) { this.onBeginAddTemplateToLibraryDelegate = new BeginOperationDelegate(this.OnBeginAddTemplateToLibrary); } if ((this.onEndAddTemplateToLibraryDelegate == null)) { this.onEndAddTemplateToLibraryDelegate = new EndOperationDelegate(this.OnEndAddTemplateToLibrary); } if ((this.onAddTemplateToLibraryCompletedDelegate == null)) { this.onAddTemplateToLibraryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddTemplateToLibraryCompleted); } base.InvokeAsync(this.onBeginAddTemplateToLibraryDelegate, new object[] { request }, this.onEndAddTemplateToLibraryDelegate, this.onAddTemplateToLibraryCompletedDelegate, userState); }
private System.IAsyncResult OnBeginAddTemplateToLibrary(object[] inValues, System.AsyncCallback callback, object asyncState) { IndoorWorx.Infrastructure.Requests.AddTemplateRequest request = ((IndoorWorx.Infrastructure.Requests.AddTemplateRequest)(inValues[0])); return(((IndoorWorx.Library.ApplicationUserServiceReference.IApplicationUserService)(this)).BeginAddTemplateToLibrary(request, callback, asyncState)); }
public void AddTemplateToLibraryAsync(IndoorWorx.Infrastructure.Requests.AddTemplateRequest request) { this.AddTemplateToLibraryAsync(request, null); }
System.IAsyncResult IndoorWorx.Library.ApplicationUserServiceReference.IApplicationUserService.BeginAddTemplateToLibrary(IndoorWorx.Infrastructure.Requests.AddTemplateRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddTemplateToLibrary(request, callback, asyncState)); }