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