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