MacroResolverSetNamedSourceDataCallback Method |
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: 13.0.131
Syntax public void SetNamedSourceDataCallback(
string selector,
Func<EvaluationContext, Object> callback,
bool isPrioritized = true
)
Parameters
- selector
- Type: SystemString
Data selector - callback
- Type: SystemFuncEvaluationContext, Object
Callback function which is called to get the data - isPrioritized (Optional)
- Type: SystemBoolean
If true, this item will appear at the top of AutoCompletion and ObjectTree
See Also