Property | Type | Description | |
---|---|---|---|
Formatter | IValidationConfigFormatter |
Method | Description | |
---|---|---|
AddRule ( string propertyName, |
||
SuppressScriptTags ( ) : |
||
ToString ( ) : string | ||
ValidationInfo ( |
Constructs a ValidationInfo that simply format and render the rules
|
|
ValidationInfo ( |
Constructs a ValidationInfo that will render JavaScript code that attaches the rules to DOM elements
|
Method | Description | |
---|---|---|
MergeAddedRulesIntoRuleSet ( ) : void | ||
WrapInScriptTag ( string statement ) : string |
public AddRule ( string propertyName, |
||
propertyName | string | |
rule | ||
return |
public SuppressScriptTags ( ) : |
||
return |
public ValidationInfo ( |
||
rules | ||
return | System |
public ValidationInfo ( |
||
rules | ||
attachToElementPrefix | string | |
return | System |