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

New Post: Validate a List of objects

$
0
0
Jeremy - I'd like the result to look the same as if I'd done the validation on just one item, so that it's consistent. I just don't know how to approach that. Any thoughts?

Edit: Essentially, my worry is that there isn't any indication of which item or items have issues if we just iterate. Although, I guess we could change the property name? Do List[index].Property instead of just Property?

Viewing all articles
Browse latest Browse all 1917

Trending Articles



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