.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleBase Properties

Serves as the base class for Validation Rules.
Name Description
DefaultMessageTemplateCollectionValidationMessageSuffix static Specifies the default additional text displayed when the Validation Rule applied to a collection property is broken.
DefaultMessageTemplateSkipNullOrEmptyValues static Specifies the default template for the message displayed when the Validation Rule was not checked because one of the target property values is null or empty.
DefaultMessageTemplateTargetDoesNotSatisfyCollectionCriteria static Specifies the default template for the message displayed when the Validation Rule was not checked because the validated object is not an element of the target collection.
DefaultMessageTemplateTargetDoesNotSatisfyTargetCriteria static Specifies the default template for the message displayed when the Validation Rule was not checked because the criteria specified by the RuleBaseProperties.TargetCriteria property is not satisfied by the validated object.
Id Returns the identifier of the current Validation Rule.
Properties Represents the Validation Rule's properties exported to the Application Model.
PropertiesType Specifies the type of the Validation Rule Properties class used by the Validation Rule.
TargetObject Specifies the object currently being validated by the Validation Rule.
UsedProperties Specifies the names of the properties to be highlighted when the current Validation Rule is broken.
See Also