Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Validate a Collection Object

$
0
0
Is it possible to validate an object that is a Collection? I've used it where a collection is a property in a class. I know I could enumerate through the collection and validate each object contained within, however, I was hoping to fire off validation on the collection as a whole and get results. I already have a validator defined for the object type itself, just not on the collection.

Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>