boujnah5207 / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Use the shared engine provider for maintaining a single instance of NHibernate Validator engine #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://fabiomaulo.blogspot.com/2009/02/diving-in-nhibernatevalidator.html

Original issue reported on code.google.com by wmccaffe...@gmail.com on 20 Feb 2009 at 6:09

GoogleCodeExporter commented 9 years ago
Simone fixed with the following change to ValidatableObject:

        private IValidator Validator {
            get {
                return SafeServiceLocator<IValidator>.GetService();
            }
        }

Original comment by wmccaffe...@gmail.com on 7 Mar 2009 at 10:19