Click or drag to resize

ConstructedValueAccessorTValue Constructor

Namespace:  Aloe.SystemFrameworks.Domain.Attributes
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ConstructedValueAccessor(
	Func<DomainObject, TValue> getFunc,
	Action<DomainObject, TValue> setFunc,
	bool shouldSupportGet = true,
	bool shouldSupportSet = true
)

Parameters

getFunc
Type: SystemFuncDomainObject, TValue
The get function.
setFunc
Type: SystemActionDomainObject, TValue
The set function.
shouldSupportGet (Optional)
Type: SystemBoolean
if set to true the accessor should support get.
shouldSupportSet (Optional)
Type: SystemBoolean
if set to true the accessor should support set.
See Also