Click or drag to resize
PropertySettingsInfoType Constructor (String, FuncInfoType, Object, ActionInfoType, Object, Type)
Creates new instance of property

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public PropertySettings(
	string name,
	Func<InfoType, Object> lambdaExpr,
	Action<InfoType, Object> setLambdaExpr,
	Type propertyType
)

Parameters

name
Type: SystemString
Property name
lambdaExpr
Type: SystemFuncInfoType, Object
Lamda expression for the getter of the property
setLambdaExpr
Type: SystemActionInfoType, Object
Lamda expression for the setter of the property
propertyType
Type: SystemType
Property type
See Also