Skip to content

Commit f6ef487

Browse files
committed
Let GitHub Copilot suggest the XML comment
1 parent cd8abf7 commit f6ef487

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/RecursiveDataAnnotationsValidation/RecursiveDataAnnotationValidator.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ public async Task<bool> TryValidateObjectRecursiveAsync(
8585
));
8686
}
8787

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>
8895
private bool TryValidateObject(
8996
object obj,
9097
ICollection<ValidationResult> validationResults,

0 commit comments

Comments
 (0)