File: ModelBinding\RequiredAttributeAdapter.cs
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web)
namespace System.Web.ModelBinding {
    using System.ComponentModel.DataAnnotations;
 
    public sealed class RequiredAttributeAdapter : DataAnnotationsModelValidator<RequiredAttribute> {
        public RequiredAttributeAdapter(ModelMetadata metadata, ModelBindingExecutionContext context, RequiredAttribute attribute)
            : base(metadata, context, attribute) {
        }
 
#if UNDEF
        public override IEnumerable<ModelClientValidationRule> GetClientValidationRules() {
            return new[] { new ModelClientValidationRequiredRule(ErrorMessage) };
        }
#endif
    }
}