Replaces macros with given replacement or resolves them if replacement is null.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- data
- Type: CMS.Base IDataContainer
Object to process
- lambda
- Type: System Func String, String, String
Lambda expression called on each macro
- type (Optional)
- Type: System.Collections.Generic List String
Type of the macro to resolve (if null, all types are resolved).
- processOpenExpressions (Optional)
- Type: System Boolean
If true, open expressions such as {% if (true) { %} any HTML code {%}%} are processed
Return Value
Type: BooleanSee Also