Click or drag to resize
DynamicPropertyPropertyType Constructor
Constructor

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public DynamicProperty(
	string name,
	Func<PropertyType> getter,
	Action<PropertyType> setter = null
)

Parameters

name
Type: SystemString
Property name
getter
Type: SystemFuncPropertyType
Getter function
setter (Optional)
Type: SystemActionPropertyType
Setter function
See Also