Click or drag to resize

ValueExpressionAttributeBaseEvaluationOrder Property

Gets or sets the numeric evaluation order for this expression. Defaults to zero.

Namespace: GSF.ComponentModel
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public int EvaluationOrder { get; set; }
View Source

Property Value

Int32

Implements

IValueExpressionAttributeEvaluationOrder
Remarks

This is useful for providing an order of operations to evaluations of ValueExpressionAttributeBase attributes where one expression may be dependent on another. Note that properties are normally evaluated in the order in which they are defined in the class, but this is not guaranteed, using this attribute allows the order of evaluation to be changed.

When no EvaluationOrder is specified, the sort order for a property will be zero. Properties will be ordered numerically based on this value.

For any Expression value that references the this keyword, a positive evaluation order will be required.

See CreateInstanceTExpressionScope(IEnumerablePropertyInfo, TypeRegistry).

See Also