RequiredAttributeAdapter Properties

Include Protected Members
Include Inherited Members

The RequiredAttributeAdapter type exposes the following members.

Properties

  Name Description
Protected property Attribute Gets the validation attribute from the model validator. (Inherited from DataAnnotationsModelValidator<TAttribute>.)
Protected property ControllerContext Gets the controller context. (Inherited from ModelValidator.)
Protected property ErrorMessage Gets the error message for the validation failure. (Inherited from DataAnnotationsModelValidator.)
Public property IsRequired Gets a value that indicates whether model validation is required. (Inherited from DataAnnotationsModelValidator.)
Protected property Metadata Gets the metadata for the model validator. (Inherited from ModelValidator.)

Top

See Also

Reference

RequiredAttributeAdapter Class

System.Web.Mvc Namespace