Свойство | Тип | Описание | |
---|---|---|---|
Formatter | IValidationConfigFormatter |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
MergeAddedRulesIntoRuleSet ( ) : void | ||
WrapInScriptTag ( string statement ) : string |
public AddRule ( string propertyName, |
||
propertyName | string | |
rule | ||
Результат |
public SuppressScriptTags ( ) : |
||
Результат |
public ValidationInfo ( |
||
rules | ||
Результат | System |
public ValidationInfo ( |
||
rules | ||
attachToElementPrefix | string | |
Результат | System |