File: ModelBinding\ModelValidatorProviders.cs | |
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web) |
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; } } } } |