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.275-beta+6cd8c2deb04a1aae6d4ac315ff222aabe4b2a6dd
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