MacroField Constructor (String, Func EvaluationContext, Object , Func EvaluationContext, Boolean )Kentico 8.0 API Reference
Creates new instance with value evaluator which needs a context.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

name
Type: OnlineSystem String
Name of the field
valueEvaluator
Type: OnlineSystem Func EvaluationContext, OnlineObject 
Value evaluation function which needs context
availabilityCondition (Optional)
Type: OnlineSystem Func EvaluationContext, OnlineBoolean 
Availability condition
See Also