コード例 #1
0
 private object[] OnEndGetUser(System.IAsyncResult result)
 {
     SlvHanbaiClient.svcUser.EntityUser retVal = ((SlvHanbaiClient.svcUser.svcUser)(this)).EndGetUser(result);
     return(new object[] {
         retVal
     });
 }
コード例 #2
0
        private System.IAsyncResult OnBeginUpdateUser(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string random = ((string)(inValues[0]));
            int    type   = ((int)(inValues[1]));
            long   Id     = ((long)(inValues[2]));

            SlvHanbaiClient.svcUser.EntityUser entity = ((SlvHanbaiClient.svcUser.EntityUser)(inValues[3]));
            return(((SlvHanbaiClient.svcUser.svcUser)(this)).BeginUpdateUser(random, type, Id, entity, callback, asyncState));
        }
コード例 #3
0
 public System.IAsyncResult BeginUpdateUser(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser 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("UpdateUser", _args, callback, asyncState);
     return(_result);
 }
コード例 #4
0
 public void UpdateUserAsync(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity, object userState)
 {
     if ((this.onBeginUpdateUserDelegate == null))
     {
         this.onBeginUpdateUserDelegate = new BeginOperationDelegate(this.OnBeginUpdateUser);
     }
     if ((this.onEndUpdateUserDelegate == null))
     {
         this.onEndUpdateUserDelegate = new EndOperationDelegate(this.OnEndUpdateUser);
     }
     if ((this.onUpdateUserCompletedDelegate == null))
     {
         this.onUpdateUserCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateUserCompleted);
     }
     base.InvokeAsync(this.onBeginUpdateUserDelegate, new object[] {
         random,
         type,
         Id,
         entity
     }, this.onEndUpdateUserDelegate, this.onUpdateUserCompletedDelegate, userState);
 }
コード例 #5
0
 public SlvHanbaiClient.svcUser.EntityUser EndGetUser(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     SlvHanbaiClient.svcUser.EntityUser _result = ((SlvHanbaiClient.svcUser.EntityUser)(base.EndInvoke("GetUser", _args, result)));
     return(_result);
 }
コード例 #6
0
 public void UpdateUserAsync(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity)
 {
     this.UpdateUserAsync(random, type, Id, entity, null);
 }
コード例 #7
0
 System.IAsyncResult SlvHanbaiClient.svcUser.svcUser.BeginUpdateUser(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdateUser(random, type, Id, entity, callback, asyncState));
 }