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

New Post: Removing a validator

$
0
0

I have an AddressValidator for an Address class, an RegistrationModel, which contains two instances of Address. Due to auto-wire-up, both addresses get validated the same way.

Is there a way to remove the default AddressValidator from affecting the addresses within the RegistrationModel? I wish to handle these differently.

 

Thanks


Viewing all articles
Browse latest Browse all 1917

Trending Articles



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