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); }
private object[] OnEndGetCustomerByID(System.IAsyncResult result) { CloudyBank.PortableServices.Customers.CustomerDto retVal = ((CloudyBank.PortableServices.Customers.WCFCustomersService)(this)).EndGetCustomerByID(result); return(new object[] { retVal }); }
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); }
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); }
public void SaveCustomerDtoAsync(CloudyBank.PortableServices.Customers.CustomerDto customerDto) { this.SaveCustomerDtoAsync(customerDto, null); }
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)); }
System.IAsyncResult CloudyBank.PortableServices.Customers.WCFCustomersService.BeginSaveCustomerDto(CloudyBank.PortableServices.Customers.CustomerDto customerDto, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSaveCustomerDto(customerDto, callback, asyncState)); }