Click or drag to resize

ValueExpressionAttributeBaseGetExpressionUpdateValue Method

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

Namespace: GSF.ComponentModel
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.293-beta+b9f6fb0447e0fddffa5bbbc6db4d9737c334ae9a
Syntax
public virtual string GetExpressionUpdateValue(
	PropertyInfo property
)
View Source

Parameters

property  PropertyInfo
Property from which attribute was derived.

Return Value

String
Assignment expression based on source property.

Implements

IValueExpressionAttributeGetExpressionUpdateValue(PropertyInfo)
Remarks

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

The expression update value is typically used to assign modeled property values back to expressions allowing synchronization of a model with an external source, e.g., a user interface element.

See Also