public System.IAsyncResult BeginDoAction(PlatformClient.PlatformServer.PlatformCommandInfo pci, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = pci; System.IAsyncResult _result = base.BeginInvoke("DoAction", _args, callback, asyncState); return(_result); }
private object[] OnEndDoAction(System.IAsyncResult result) { PlatformClient.PlatformServer.PlatformCommandInfo retVal = ((PlatformClient.PlatformServer.IPlatformService)(this)).EndDoAction(result); return(new object[] { retVal }); }
public void DoActionAsync(PlatformClient.PlatformServer.PlatformCommandInfo pci, object userState) { if ((this.onBeginDoActionDelegate == null)) { this.onBeginDoActionDelegate = new BeginOperationDelegate(this.OnBeginDoAction); } if ((this.onEndDoActionDelegate == null)) { this.onEndDoActionDelegate = new EndOperationDelegate(this.OnEndDoAction); } if ((this.onDoActionCompletedDelegate == null)) { this.onDoActionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDoActionCompleted); } base.InvokeAsync(this.onBeginDoActionDelegate, new object[] { pci }, this.onEndDoActionDelegate, this.onDoActionCompletedDelegate, userState); }
public PlatformClient.PlatformServer.PlatformCommandInfo EndDoAction(System.IAsyncResult result) { object[] _args = new object[0]; PlatformClient.PlatformServer.PlatformCommandInfo _result = ((PlatformClient.PlatformServer.PlatformCommandInfo)(base.EndInvoke("DoAction", _args, result))); return(_result); }
public void DoActionAsync(PlatformClient.PlatformServer.PlatformCommandInfo pci) { this.DoActionAsync(pci, null); }
private System.IAsyncResult OnBeginDoAction(object[] inValues, System.AsyncCallback callback, object asyncState) { PlatformClient.PlatformServer.PlatformCommandInfo pci = ((PlatformClient.PlatformServer.PlatformCommandInfo)(inValues[0])); return(((PlatformClient.PlatformServer.IPlatformService)(this)).BeginDoAction(pci, callback, asyncState)); }
System.IAsyncResult PlatformClient.PlatformServer.IPlatformService.BeginDoAction(PlatformClient.PlatformServer.PlatformCommandInfo pci, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginDoAction(pci, callback, asyncState)); }