MacroResolverSetHiddenNamedSourceData Method (String, FuncEvaluationContext, Object) |
Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax public void SetHiddenNamedSourceData(
string selector,
Func<EvaluationContext, Object> callback
)
Parameters
- selector
- Type: SystemString
Data selector - callback
- Type: SystemFuncEvaluationContext, Object
Callback function which is called to get the data
See Also