private object[] OnEndGetCustomer(System.IAsyncResult result) { SlvHanbaiClient.svcCustomer.EntityCustomer retVal = ((SlvHanbaiClient.svcCustomer.svcCustomer)(this)).EndGetCustomer(result); return(new object[] { retVal }); }
private System.IAsyncResult OnBeginUpdateCustomer(object[] inValues, System.AsyncCallback callback, object asyncState) { string random = ((string)(inValues[0])); int type = ((int)(inValues[1])); string Id = ((string)(inValues[2])); SlvHanbaiClient.svcCustomer.EntityCustomer entity = ((SlvHanbaiClient.svcCustomer.EntityCustomer)(inValues[3])); return(((SlvHanbaiClient.svcCustomer.svcCustomer)(this)).BeginUpdateCustomer(random, type, Id, entity, callback, asyncState)); }
public System.IAsyncResult BeginUpdateCustomer(string random, int type, string Id, SlvHanbaiClient.svcCustomer.EntityCustomer entity, System.AsyncCallback callback, object asyncState) { object[] _args = new object[4]; _args[0] = random; _args[1] = type; _args[2] = Id; _args[3] = entity; System.IAsyncResult _result = base.BeginInvoke("UpdateCustomer", _args, callback, asyncState); return(_result); }
public void UpdateCustomerAsync(string random, int type, string Id, SlvHanbaiClient.svcCustomer.EntityCustomer entity, object userState) { if ((this.onBeginUpdateCustomerDelegate == null)) { this.onBeginUpdateCustomerDelegate = new BeginOperationDelegate(this.OnBeginUpdateCustomer); } if ((this.onEndUpdateCustomerDelegate == null)) { this.onEndUpdateCustomerDelegate = new EndOperationDelegate(this.OnEndUpdateCustomer); } if ((this.onUpdateCustomerCompletedDelegate == null)) { this.onUpdateCustomerCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCustomerCompleted); } base.InvokeAsync(this.onBeginUpdateCustomerDelegate, new object[] { random, type, Id, entity }, this.onEndUpdateCustomerDelegate, this.onUpdateCustomerCompletedDelegate, userState); }
public SlvHanbaiClient.svcCustomer.EntityCustomer EndGetCustomer(System.IAsyncResult result) { object[] _args = new object[0]; SlvHanbaiClient.svcCustomer.EntityCustomer _result = ((SlvHanbaiClient.svcCustomer.EntityCustomer)(base.EndInvoke("GetCustomer", _args, result))); return(_result); }
public void UpdateCustomerAsync(string random, int type, string Id, SlvHanbaiClient.svcCustomer.EntityCustomer entity) { this.UpdateCustomerAsync(random, type, Id, entity, null); }
System.IAsyncResult SlvHanbaiClient.svcCustomer.svcCustomer.BeginUpdateCustomer(string random, int type, string Id, SlvHanbaiClient.svcCustomer.EntityCustomer entity, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdateCustomer(random, type, Id, entity, callback, asyncState)); }