Пример #1
0
 public System.IAsyncResult BeginUpdatePaymentEvent(CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = paymentDto;
     System.IAsyncResult _result = base.BeginInvoke("UpdatePaymentEvent", _args, callback, asyncState);
     return(_result);
 }
Пример #2
0
 private object[] OnEndGetPaymentEventById(System.IAsyncResult result)
 {
     CloudyBank.PortableServices.PaymentEvents.PaymentEventDto retVal = ((CloudyBank.PortableServices.PaymentEvents.WCFPaymentEventService)(this)).EndGetPaymentEventById(result);
     return(new object[] {
         retVal
     });
 }
Пример #3
0
        private System.IAsyncResult OnBeginCreatePaymentEvent(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto = ((CloudyBank.PortableServices.PaymentEvents.PaymentEventDto)(inValues[0]));
            int customerId = ((int)(inValues[1]));

            return(((CloudyBank.PortableServices.PaymentEvents.WCFPaymentEventService)(this)).BeginCreatePaymentEvent(paymentDto, customerId, callback, asyncState));
        }
Пример #4
0
 public void UpdatePaymentEventAsync(CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto, object userState)
 {
     if ((this.onBeginUpdatePaymentEventDelegate == null))
     {
         this.onBeginUpdatePaymentEventDelegate = new BeginOperationDelegate(this.OnBeginUpdatePaymentEvent);
     }
     if ((this.onEndUpdatePaymentEventDelegate == null))
     {
         this.onEndUpdatePaymentEventDelegate = new EndOperationDelegate(this.OnEndUpdatePaymentEvent);
     }
     if ((this.onUpdatePaymentEventCompletedDelegate == null))
     {
         this.onUpdatePaymentEventCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdatePaymentEventCompleted);
     }
     base.InvokeAsync(this.onBeginUpdatePaymentEventDelegate, new object[] {
         paymentDto
     }, this.onEndUpdatePaymentEventDelegate, this.onUpdatePaymentEventCompletedDelegate, userState);
 }
Пример #5
0
 public CloudyBank.PortableServices.PaymentEvents.PaymentEventDto EndGetPaymentEventById(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     CloudyBank.PortableServices.PaymentEvents.PaymentEventDto _result = ((CloudyBank.PortableServices.PaymentEvents.PaymentEventDto)(base.EndInvoke("GetPaymentEventById", _args, result)));
     return(_result);
 }
Пример #6
0
 public void UpdatePaymentEventAsync(CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto)
 {
     this.UpdatePaymentEventAsync(paymentDto, null);
 }
Пример #7
0
 System.IAsyncResult CloudyBank.PortableServices.PaymentEvents.WCFPaymentEventService.BeginUpdatePaymentEvent(CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdatePaymentEvent(paymentDto, callback, asyncState));
 }
Пример #8
0
 public void CreatePaymentEventAsync(CloudyBank.PortableServices.PaymentEvents.PaymentEventDto paymentDto, int customerId)
 {
     this.CreatePaymentEventAsync(paymentDto, customerId, null);
 }