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

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

Parameters

name
Type: SystemString
Property name
lambdaExpr
Type: SystemFuncInfoType, Object, Object
Lamda expression for the getter of the property (object, parameter) => return value
setLambdaExpr
Type: SystemActionInfoType, Object, Object
Lamda expression for the setter of the property (object, parameter, value) => set
parameter
Type: SystemObject
Parameter to pass to the lambda functions
propertyType
Type: SystemType
Property type
See Also