Returns rule as a human readable sentence. If the expression is Rule(...) method than it uses XML for the rule, otherwise returns expression as it is.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- ruleExpression
- Type: System String
Rule expression to render.
- includingMarkup (Optional)
- Type: System Boolean
If true, rule is formatted using HTML markup
- throwOnError (Optional)
- Type: System Boolean
If true, the exception is thrown in case of error in parsing the expression
- valueTransformation (Optional)
- Type: System Func Object, Object
Transformation function which is used to further modify the displayed parameter value (used for example to add TimeZones support for date time parameter values)
Return Value
Type: StringSee Also