DefaultValueExpressionAttribute Class

Defines a C# expression attribute that when evaluated will specify the default value for a property.

Definition

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

Constructors

DefaultValueExpressionAttribute Creates a new DefaultValueExpressionAttribute

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)
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.
(Inherited from ValueExpressionAttributeBase)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetPropertyUpdateValue Gets the Expression based value used to update a modeled property.
(Inherited from ValueExpressionAttributeBase)
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