ValidationRuleAttribute constructor (1 of 2)
Creates a rule whose client side class is found by the convention of GetConventionalRule.
protected ValidationRuleAttribute()
See Also
- class ValidationRuleAttribute
ValidationRuleAttribute constructor (2 of 2)
Creates a rule with the type key of its client side class, e.g. a Key constant of the attribute.
protected ValidationRuleAttribute(string rule)
| parameter | description |
|---|---|
| rule | The type key of the class of the rule on the client side. |
See Also
- class ValidationRuleAttribute