DynamicPropertyPropertyType Constructor |
Constructor
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax 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