Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​ComponentModel.​DataAnnotations.​IValidatableObject

Assembly: System.ComponentModel.Annotations

Provides a way for an object to be validated.

Methods

Validate​(ValidationContext validationContext)
Determines whether the specified object is valid.
Returns A collection that holds failed-validation information.
validationContext The validation context.