The RuleFromBoolProperty attribute demands that a particular object satisfy a specific complex criteria. The criteria is introduced by a Boolean property, which is usually non-persistent. Here, the following properties apply this rule: - The IsComplexExpressionValid property returns true if the MustBeTrue property is set to true, the length of the LengthMoreThan10 property value is more than 10 and the ContainsValid property value contains "Valid". To highlight properties with incorrect data, their names are passed as the UsedProperties parameter in the RuleFromBoolProperty attribute. - The IsFullStringValid property returns true if the FullString property value represents a concatenation of the LeftPart, MiddlePart and RightPart property values. To check this rule, save the current object.
| Loading… |
| Loading… |
| Loading… |
| Loading… |
| Loading… |
|
|