public System.IAsyncResult BeginAddVideoToLibrary(IndoorWorx.Infrastructure.Requests.AddVideoRequest request, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = request; System.IAsyncResult _result = base.BeginInvoke("AddVideoToLibrary", _args, callback, asyncState); return(_result); }
public void AddVideoToLibraryAsync(IndoorWorx.Infrastructure.Requests.AddVideoRequest request, object userState) { if ((this.onBeginAddVideoToLibraryDelegate == null)) { this.onBeginAddVideoToLibraryDelegate = new BeginOperationDelegate(this.OnBeginAddVideoToLibrary); } if ((this.onEndAddVideoToLibraryDelegate == null)) { this.onEndAddVideoToLibraryDelegate = new EndOperationDelegate(this.OnEndAddVideoToLibrary); } if ((this.onAddVideoToLibraryCompletedDelegate == null)) { this.onAddVideoToLibraryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddVideoToLibraryCompleted); } base.InvokeAsync(this.onBeginAddVideoToLibraryDelegate, new object[] { request }, this.onEndAddVideoToLibraryDelegate, this.onAddVideoToLibraryCompletedDelegate, userState); }
private System.IAsyncResult OnBeginAddVideoToLibrary(object[] inValues, System.AsyncCallback callback, object asyncState) { IndoorWorx.Infrastructure.Requests.AddVideoRequest request = ((IndoorWorx.Infrastructure.Requests.AddVideoRequest)(inValues[0])); return(((IndoorWorx.Library.ApplicationUserServiceReference.IApplicationUserService)(this)).BeginAddVideoToLibrary(request, callback, asyncState)); }
public void AddVideoToLibraryAsync(IndoorWorx.Infrastructure.Requests.AddVideoRequest request) { this.AddVideoToLibraryAsync(request, null); }
System.IAsyncResult IndoorWorx.Library.ApplicationUserServiceReference.IApplicationUserService.BeginAddVideoToLibrary(IndoorWorx.Infrastructure.Requests.AddVideoRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddVideoToLibrary(request, callback, asyncState)); }