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);
 }
 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);
 }
 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));
 }
 public void GetNewAsync(SLTest.Orders.Product p)
 {
     this.GetNewAsync(p, null);
 }
 System.IAsyncResult SLTest.Orders.IOrderService.BeginGetNew(SLTest.Orders.Product p, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetNew(p, callback, asyncState));
 }