示例#1
0
 private void ValidateUser(User user)
 {
     if (!UserValidation.IsValid(user))
     {
         throw new ArgumentException("User not valid");
     }
 }