We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd8abf7 commit f6ef487Copy full SHA for f6ef487
src/RecursiveDataAnnotationsValidation/RecursiveDataAnnotationValidator.cs
@@ -85,6 +85,13 @@ public async Task<bool> TryValidateObjectRecursiveAsync(
85
));
86
}
87
88
+ /// <summary>
89
+ /// Validates the specified object and adds any validation results to the provided collection.
90
+ /// </summary>
91
+ /// <param name="obj">The object to validate.</param>
92
+ /// <param name="validationResults">A collection to receive any validation errors.</param>
93
+ /// <param name="validationContextItems">Optional context items for the validation context.</param>
94
+ /// <returns>True if the object is valid; otherwise, false.</returns>
95
private bool TryValidateObject(
96
object obj,
97
ICollection<ValidationResult> validationResults,
0 commit comments