IValueExpressionAttributeEvaluationOrder Property

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

Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.137 -- Release Build+c01c06f95fd3b3a0ec8c06e0f13d6fe82d7170d3
int EvaluationOrder { get; set; }

Property Value

Int32

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