CachedMacroRuleTreesGetParsedTree Method |
Parses serialized macro (for example in a contact group) to a
MacroRuleTree and saves it to cache for subsequent calls.
If macro rule tree was already parsed, returns it from cache.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax public static MacroRuleTree GetParsedTree(
string macroCondition
)
Parameters
- macroCondition
- Type: SystemString
Macro condition
Return Value
Type:
MacroRuleTreeMacroRuleTree that is parsed from
macroCondition or taken from cache or null if it cannot be parsed
Exceptions See Also