Understanding ValidationResults

The ValidationResults class holds one or more ValidationResult objects based on the outcome of the validation. It has two useful properties; the IsValid property specifies whether the validation is successful and the Count property gets the results count. The ValidationResult class holds a single result with information such as validation message, key, tag, and so on.

The following diagram shows the members of the ValidationResult and ValidationResults classes:

Understanding ValidationResults
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.105.215