예제 #1
0
 public ResultRMOfString UserRegister(User user)
 {
     user.UserPwd = UtilsTool.MD5(user.UserPwd);
     var result = Client.Service.Register(user);
     return result;
 }
예제 #2
0
 /// <remarks/>
 public void RegisterAsync(User user) {
     this.RegisterAsync(user, null);
 }
예제 #3
0
 /// <remarks/>
 public void RegisterAsync(User user, object userState) {
     if ((this.RegisterOperationCompleted == null)) {
         this.RegisterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterOperationCompleted);
     }
     this.InvokeAsync("Register", new object[] {
                 user}, this.RegisterOperationCompleted, userState);
 }
예제 #4
0
 public ResultRMOfString Register(User user) {
     object[] results = this.Invoke("Register", new object[] {
                 user});
     return ((ResultRMOfString)(results[0]));
 }