ModelValidationRulesNodeGenerator.GetRuleInfoString(IRuleBaseProperties) Method

Returns a string that specifies the IRuleBaseProperties object in a human-readable manner.

Namespace: DevExpress.ExpressApp.Validation

Assembly: DevExpress.ExpressApp.Validation.v18.1.dll

Syntax

public static string GetRuleInfoString(
    IRuleBaseProperties ruleProperties
)

Parameters

Type Name Description
IRuleBaseProperties ruleProperties

An IRuleBaseProperties object to be specified in a human-readable manner.

Returns

Type Description
String

A string that specifies the IRuleBaseProperties object in a human-readable manner.

This method returns a string which includes the IRuleBaseProperties.Id value and the full name of the IRuleBaseProperties.TargetType type. Additionally, if the ruleProperties object supports the IRulePropertyValueProperties interface, the IRulePropertyValueProperties.TargetPropertyName is included.