/// <summary> /// 返回失败 生成类的方法 /// </summary> /// <param name="toRespond"></param> /// <param name="error"></param> public LoginR(Login toRespond, Error error) : base(toRespond) { Error = error; }
/// <summary> /// 返回成功 生成类的方法 /// </summary> /// <param name="toRespond"></param> /// <param name="userInfo"></param> public LoginR(Login toRespond, UserInformation userInfo) : base(toRespond) { UserInfo = userInfo; }