Click or drag to resize
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.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
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