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

New Post: Removing a validator

$
0
0

Yes, I use the example you posted.

Thanks for your help. I'll look into changing how it gets wired with StructureMap.

            AssemblyScanner.FindValidatorsInAssemblyContaining<AddressValidator>()
                .ForEach(result =>
                {
                    For(result.InterfaceType)
                        .Singleton()
                        .Use(result.ValidatorType);
                });

Viewing all articles
Browse latest Browse all 1917


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