private object[] OnEndGetCompany(System.IAsyncResult result) { SlvHanbaiClient.svcCompany.EntityCompany retVal = ((SlvHanbaiClient.svcCompany.svcCompany)(this)).EndGetCompany(result); return(new object[] { retVal }); }
private System.IAsyncResult OnBeginUpdateCompany(object[] inValues, System.AsyncCallback callback, object asyncState) { string random = ((string)(inValues[0])); int type = ((int)(inValues[1])); SlvHanbaiClient.svcCompany.EntityCompany entity = ((SlvHanbaiClient.svcCompany.EntityCompany)(inValues[2])); return(((SlvHanbaiClient.svcCompany.svcCompany)(this)).BeginUpdateCompany(random, type, entity, callback, asyncState)); }
public System.IAsyncResult BeginUpdateCompany(string random, int type, SlvHanbaiClient.svcCompany.EntityCompany entity, System.AsyncCallback callback, object asyncState) { object[] _args = new object[3]; _args[0] = random; _args[1] = type; _args[2] = entity; System.IAsyncResult _result = base.BeginInvoke("UpdateCompany", _args, callback, asyncState); return(_result); }
public void UpdateCompanyAsync(string random, int type, SlvHanbaiClient.svcCompany.EntityCompany entity, object userState) { if ((this.onBeginUpdateCompanyDelegate == null)) { this.onBeginUpdateCompanyDelegate = new BeginOperationDelegate(this.OnBeginUpdateCompany); } if ((this.onEndUpdateCompanyDelegate == null)) { this.onEndUpdateCompanyDelegate = new EndOperationDelegate(this.OnEndUpdateCompany); } if ((this.onUpdateCompanyCompletedDelegate == null)) { this.onUpdateCompanyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCompanyCompleted); } base.InvokeAsync(this.onBeginUpdateCompanyDelegate, new object[] { random, type, entity }, this.onEndUpdateCompanyDelegate, this.onUpdateCompanyCompletedDelegate, userState); }
public SlvHanbaiClient.svcCompany.EntityCompany EndGetCompany(System.IAsyncResult result) { object[] _args = new object[0]; SlvHanbaiClient.svcCompany.EntityCompany _result = ((SlvHanbaiClient.svcCompany.EntityCompany)(base.EndInvoke("GetCompany", _args, result))); return(_result); }
public void UpdateCompanyAsync(string random, int type, SlvHanbaiClient.svcCompany.EntityCompany entity) { this.UpdateCompanyAsync(random, type, entity, null); }
System.IAsyncResult SlvHanbaiClient.svcCompany.svcCompany.BeginUpdateCompany(string random, int type, SlvHanbaiClient.svcCompany.EntityCompany entity, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdateCompany(random, type, entity, callback, asyncState)); }