Skip to main content
.NET 6.0+

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.v24.1.dll

Declaration

public static string GetRuleInfoString(
    IRuleBaseProperties ruleProperties
)

Parameters

Name Type Description
ruleProperties IRuleBaseProperties

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.

Remarks

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.

See Also