ModelValidationRulesNodeGenerator.GetRuleInfoString(IRuleBaseProperties) Method
In This Article
Returns a string that specifies the IRuleBaseProperties object in a human-readable manner.
Namespace: DevExpress.ExpressApp.Validation
Assembly: DevExpress.ExpressApp.Validation.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Validation
#Declaration
public static string GetRuleInfoString(
IRuleBaseProperties ruleProperties
)
#Parameters
Name | Type | Description |
---|---|---|
rule |
IRule |
An IRule |
#Returns
Type | Description |
---|---|
String | A string that specifies the IRule |
#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