Ejemplo n.º 1
0
 public System.IAsyncResult BeginGetNew(SLTest.Orders.Product p, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = p;
     System.IAsyncResult _result = base.BeginInvoke("GetNew", _args, callback, asyncState);
     return(_result);
 }
Ejemplo n.º 2
0
 public void GetNewAsync(SLTest.Orders.Product p, object userState)
 {
     if ((this.onBeginGetNewDelegate == null))
     {
         this.onBeginGetNewDelegate = new BeginOperationDelegate(this.OnBeginGetNew);
     }
     if ((this.onEndGetNewDelegate == null))
     {
         this.onEndGetNewDelegate = new EndOperationDelegate(this.OnEndGetNew);
     }
     if ((this.onGetNewCompletedDelegate == null))
     {
         this.onGetNewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetNewCompleted);
     }
     base.InvokeAsync(this.onBeginGetNewDelegate, new object[] {
         p
     }, this.onEndGetNewDelegate, this.onGetNewCompletedDelegate, userState);
 }
Ejemplo n.º 3
0
 private System.IAsyncResult OnBeginGetNew(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     SLTest.Orders.Product p = ((SLTest.Orders.Product)(inValues[0]));
     return(((SLTest.Orders.IOrderService)(this)).BeginGetNew(p, callback, asyncState));
 }
Ejemplo n.º 4
0
 public void GetNewAsync(SLTest.Orders.Product p)
 {
     this.GetNewAsync(p, null);
 }
Ejemplo n.º 5
0
 System.IAsyncResult SLTest.Orders.IOrderService.BeginGetNew(SLTest.Orders.Product p, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetNew(p, callback, asyncState));
 }