Esempio n. 1
0
 private object[] OnEndGetCompany(System.IAsyncResult result)
 {
     SlvHanbaiClient.svcCompany.EntityCompany retVal = ((SlvHanbaiClient.svcCompany.svcCompany)(this)).EndGetCompany(result);
     return(new object[] {
         retVal
     });
 }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
 public void UpdateCompanyAsync(string random, int type, SlvHanbaiClient.svcCompany.EntityCompany entity)
 {
     this.UpdateCompanyAsync(random, type, entity, null);
 }
Esempio n. 7
0
 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));
 }