C# Class Rock.Web.UI.Validation.DataAnnotationValidator

Data Annotation Validator for validating based on data attributes
Inheritance: System.Web.UI.WebControls.BaseValidator
Exibir arquivo Open project: NewSpring/Rock

Protected Methods

Method Description
EvaluateIsValid ( ) : bool

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.

Private Methods

Method Description
GetValidatedProperty ( ) : PropertyInfo

Gets the validated property.

GetValidatedType ( ) : Type

Gets the type of the validated.

Method Details

EvaluateIsValid() protected method

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
protected EvaluateIsValid ( ) : bool
return bool