Click or drag to resize

CalculatedDataAttribute Constructor

Initializes a new instance of the CalculatedDataAttribute class.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public CalculatedDataAttribute(
	string name,
	Func<string> localizedNameFunc,
	Func<(Func<DomainObject, Object> , Type )> compile,
	BaseAttributeInfo baseInfo = null
)

Parameters

name
Type: SystemString
The name of the attribute.
localizedNameFunc
Type: SystemFuncString
Function, returning the name in the current thread language.
compile
Type: SystemFuncValueTupleFuncDomainObject, Object, Type
Function returning the expression and the value type.
baseInfo (Optional)
Type: Aloe.SystemFrameworks.Domain.AttributesBaseAttributeInfo
The base information.
See Also