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

New Post: client side validation for valiator without default constructor

$
0
0
Hi

If you use the AttributedValidatorFactory in conjunction with the [Validator] attribute, then the validators must have a default constructor. If you want to customise the creation of the validator, then you'd need to use a custom implementation of IValidatorFactory rather than relying on the default.

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>