public ResultRMOfString UserRegister(User user)
 {
     user.UserPwd = UtilsTool.MD5(user.UserPwd);
     var result = Client.Service.Register(user);
     return result;
 }
Exemple #2
0
 /// <remarks/>
 public void RegisterAsync(User user) {
     this.RegisterAsync(user, null);
 }
Exemple #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);
 }
Exemple #4
0
 public ResultRMOfString Register(User user) {
     object[] results = this.Invoke("Register", new object[] {
                 user});
     return ((ResultRMOfString)(results[0]));
 }