RuleCriteriaAttribute Properties

Name Description
CustomMessageTemplate

Specifies informational text to be added to the exception message, when the current rule is broken.

(Inherited from RuleBaseAttribute)
InvertResult

Specifies whether the current rule should be inverted, to be checked.

(Inherited from RuleBaseAttribute)
Name

Specifies a name of the rule created using the current attribute.

(Inherited from RuleBaseAttribute)
ResultType

Specifies the application behavior when the rule is broken.

(Inherited from RuleBaseAttribute)
SkipNullOrEmptyValues

Specifies whether the current rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type propeties) or a minimal date (for DateTime type properties).

(Inherited from RuleBaseAttribute)
TargetContextIDs

Specifies a context for checking the current Rule.

(Inherited from RuleBaseAttribute)
TargetCriteria

Specifies a criterion that must be satisfied by the validated object or property to check rules.

(Inherited from RuleBaseAttribute)
UsedProperties

Specifies the names of the properties to be highlighted when the rule generated from the current attribute is broken.