Esempio n. 1
0
 public System.IAsyncResult BeginSaveCustomerDto(CloudyBank.PortableServices.Customers.CustomerDto customerDto, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = customerDto;
     System.IAsyncResult _result = base.BeginInvoke("SaveCustomerDto", _args, callback, asyncState);
     return(_result);
 }
Esempio n. 2
0
 private object[] OnEndGetCustomerByID(System.IAsyncResult result)
 {
     CloudyBank.PortableServices.Customers.CustomerDto retVal = ((CloudyBank.PortableServices.Customers.WCFCustomersService)(this)).EndGetCustomerByID(result);
     return(new object[] {
         retVal
     });
 }
Esempio n. 3
0
 public void SaveCustomerDtoAsync(CloudyBank.PortableServices.Customers.CustomerDto customerDto, object userState)
 {
     if ((this.onBeginSaveCustomerDtoDelegate == null))
     {
         this.onBeginSaveCustomerDtoDelegate = new BeginOperationDelegate(this.OnBeginSaveCustomerDto);
     }
     if ((this.onEndSaveCustomerDtoDelegate == null))
     {
         this.onEndSaveCustomerDtoDelegate = new EndOperationDelegate(this.OnEndSaveCustomerDto);
     }
     if ((this.onSaveCustomerDtoCompletedDelegate == null))
     {
         this.onSaveCustomerDtoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSaveCustomerDtoCompleted);
     }
     base.InvokeAsync(this.onBeginSaveCustomerDtoDelegate, new object[] {
         customerDto
     }, this.onEndSaveCustomerDtoDelegate, this.onSaveCustomerDtoCompletedDelegate, userState);
 }
Esempio n. 4
0
 public CloudyBank.PortableServices.Customers.CustomerDto EndGetCustomerByID(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     CloudyBank.PortableServices.Customers.CustomerDto _result = ((CloudyBank.PortableServices.Customers.CustomerDto)(base.EndInvoke("GetCustomerByID", _args, result)));
     return(_result);
 }
Esempio n. 5
0
 public void SaveCustomerDtoAsync(CloudyBank.PortableServices.Customers.CustomerDto customerDto)
 {
     this.SaveCustomerDtoAsync(customerDto, null);
 }
Esempio n. 6
0
 private System.IAsyncResult OnBeginSaveCustomerDto(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     CloudyBank.PortableServices.Customers.CustomerDto customerDto = ((CloudyBank.PortableServices.Customers.CustomerDto)(inValues[0]));
     return(((CloudyBank.PortableServices.Customers.WCFCustomersService)(this)).BeginSaveCustomerDto(customerDto, callback, asyncState));
 }
Esempio n. 7
0
 System.IAsyncResult CloudyBank.PortableServices.Customers.WCFCustomersService.BeginSaveCustomerDto(CloudyBank.PortableServices.Customers.CustomerDto customerDto, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginSaveCustomerDto(customerDto, callback, asyncState));
 }