Пример #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;
 }