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

New Post: Custom Validator With Arguments

$
0
0
Yep, anything like this can be done within a custom property validator. Custom property validators have access to both the property being validated and its parent instance via the context parameter - you should be able to access any other properties of the object through this.

Jeremy

Viewing all articles
Browse latest Browse all 1917

Trending Articles



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