示例#1
0
 public UserInfo GetUserInfoByParams(string UserName, int Age)
 {
     UserInfo input = new UserInfo() { UserName = UserName, Age = Age };
     input.Intro = string.Format("GetUserInfoByParams 姓名:{0},年龄:{1}", input.UserName, input.Age);
     return input;
 }
示例#2
0
 public UserInfo GetUserInfoByObject(UserInfo input)
 {
     input.Intro = string.Format("GetUserInfoByObject 姓名:{0},年龄:{1}", input.UserName, input.Age);
     return input;
 }