this is the method definition:
public static bool TryValidateObject(
Object instance,
ValidationContext validationContext,
ICollection<ValidationResult> validationResults,
bool validateAllProperties
)
what i am confused is the validateAllProperties
parameter, I understand when it is true-validate all properties.
What about when it is false, not validate all properties, but which property will be validated?