Click or drag to resize
DynamicPropertyPropertyType Constructor
Constructor

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
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