MacroField Constructor (String, Func Object , Func EvaluationContext, Boolean )Kentico 8.0 API Reference
Creates new instance with value evaluator which does not need 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 OnlineObject 
Value evaluation function which does not need evaluation context
availabilityCondition (Optional)
Type: OnlineSystem Func EvaluationContext, OnlineBoolean 
Availability condition
See Also