public ValidationException(string message, Exception inner, ValidationResult validationResult)
     : base(message, inner)
 {
     ValidationResult = validationResult.CheckNull("validationResult");
 }
 public ValidationException(ValidationResult validationResult)
     : base(validationResult.CheckNull("validationResult").Reason)
 {
     ValidationResult = validationResult.CheckNull("validationResult");
 }