Click or drag to resize

IValueExpressionAttributeGetPropertyUpdateValue Method

Gets the Expression based value used to update a modeled property.

Namespace: GSF.ComponentModel
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntax
string GetPropertyUpdateValue(
	PropertyInfo property
)
View Source

Parameters

property  PropertyInfo
Property from which attribute was derived.

Return Value

String
Expression based on source property.
Remarks

This function allows derived attribute implementations to adjust the expression based on property information, e.g., property type.

The property update value is typically used to assign expression values to a modeled type.

Default implementation should return Expression.

See Also