e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
20 lines
558 B
C#
20 lines
558 B
C#
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;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|