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