Files
linux-packaging-mono/mcs/class/referencesource/System.Web/ModelBinding/ModelValidatorProviders.cs

20 lines
558 B
C#
Raw Normal View History

namespace System.Web.ModelBinding {
public static class ModelValidatorProviders {
private static readonly ModelValidatorProviderCollection _providers = new ModelValidatorProviderCollection() {
new DataAnnotationsModelValidatorProvider(),
#if UNDEF
new DataErrorInfoModelValidatorProvider(),
new ClientDataTypeModelValidatorProvider()
#endif
};
public static ModelValidatorProviderCollection Providers {
get {
return _providers;
}
}
}
}