Example #1
0
 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);
 }
Example #2
0
 private object[] OnEndDoAction(System.IAsyncResult result)
 {
     PlatformClient.PlatformServer.PlatformCommandInfo retVal = ((PlatformClient.PlatformServer.IPlatformService)(this)).EndDoAction(result);
     return(new object[] {
         retVal
     });
 }
Example #3
0
 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);
 }
Example #4
0
 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);
 }
Example #5
0
 public void DoActionAsync(PlatformClient.PlatformServer.PlatformCommandInfo pci)
 {
     this.DoActionAsync(pci, null);
 }
Example #6
0
 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));
 }
Example #7
0
 System.IAsyncResult PlatformClient.PlatformServer.IPlatformService.BeginDoAction(PlatformClient.PlatformServer.PlatformCommandInfo pci, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginDoAction(pci, callback, asyncState));
 }