MacroField Constructor (String, FuncObject, FuncEvaluationContext, Boolean) |
Creates new instance with value evaluator which does not need a context.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax public MacroField(
string name,
Func<Object> valueEvaluator,
Func<EvaluationContext, bool> availabilityCondition = null
)
Parameters
- name
- Type: SystemString
Name of the field - valueEvaluator
- Type: SystemFuncObject
Value evaluation function which does not need evaluation context - availabilityCondition (Optional)
- Type: SystemFuncEvaluationContext, Boolean
Availability condition
See Also