PropertySettingsInfoType Constructor (String, FuncInfoType, Object, Object, ActionInfoType, Object, Object, Object, Type) |
Creates new instance of parametrized property with a setter
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax 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