C# Class SpecExpress.Web.Validator

Inheritance: System.Web.UI.WebControls.BaseValidator
Afficher le fichier Open project: rbell/SpecExpress

Private Properties

Свойство Type Description
FormatErrorMessage string
GetLabelName string
TryConvertControlValue object
getTypeForProperty System.Type
setPropertyOnProxyObject object
validateProperty List

Méthodes publiques

Méthode Description
Validator ( ) : System

Méthodes protégées

Méthode Description
AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
CreateChildControls ( ) : void
EvaluateIsValid ( ) : bool

Private Methods

Méthode Description
FormatErrorMessage ( List messages, ValidationSummaryDisplayMode displayMode ) : string
GetLabelName ( ) : string

Try and get the Property Name from label, if not found, default to PropertyName

TryConvertControlValue ( string controlValue ) : object

Attempt to convert from a string to the Property Type. Return null if it fails.

getTypeForProperty ( ) : Type
setPropertyOnProxyObject ( object value ) : object
validateProperty ( ) : List

Method Details

AddAttributesToRender() protected méthode

protected AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

EvaluateIsValid() protected méthode

protected EvaluateIsValid ( ) : bool
Résultat bool

Validator() public méthode

public Validator ( ) : System
Résultat System