TypeConvertedValueExpressionAttribute Class

Defines a C# expression attribute that when evaluated will type convert its value for a property.

Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.128 -- Release Build+cfed08c7efcabf54b006110ecd862a6bfcb7b819
[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class TypeConvertedValueExpressionAttribute : ValueExpressionAttributeBase
Inheritance
Object    Attribute    ValueExpressionAttributeBase    TypeConvertedValueExpressionAttribute

Remarks

This attribute is typically used when synchronizing modeled values to an external sources, e.g., user interface elements.

Constructors

TypeConvertedValueExpressionAttribute Creates a new TypeConvertedValueExpressionAttribute

Properties

Cached Gets or sets value that determines if value should be cached after first evaluation. Defaults to false.
(Inherited from ValueExpressionAttributeBase)
EvaluationOrder Gets or sets the numeric evaluation order for this expression. Defaults to zero.
(Inherited from ValueExpressionAttributeBase)
Expression Gets C# expression that will evaluate to the desired value.
(Inherited from ValueExpressionAttributeBase)
ReturnType Gets the return Type for this Expression.
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
TypeRegistry Gets or sets any TypeRegistry to use if the attribute Expression needs to be pre-parsed.
(Inherited from ValueExpressionAttributeBase)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
GetExpressionUpdateValue Gets the modeled property based value used to update the Expression.
(Overrides ValueExpressionAttributeBaseGetExpressionUpdateValue(PropertyInfo))
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetPropertyUpdateValue Gets the Expression based value used to update a modeled property.
(Overrides ValueExpressionAttributeBaseGetPropertyUpdateValue(PropertyInfo))
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also