Default
|
[AttributeUsageAttribute(AttributeTargets.Property)] public sealed class DefaultValueExpressionAttribute : ValueExpressionAttributeBase
The DefaultValueExpressionAttribute type exposes the following members.
Name | Description | |
---|---|---|
DefaultValueExpressionAttribute | Creates a new DefaultValueExpressionAttribute |
Name | Description | |
---|---|---|
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) | |
TypeId | When 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) |
Name | Description | |
---|---|---|
Equals | Returns 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) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute) | |
GetPropertyUpdateValue |
Gets the Expression based value used to update a modeled property.
(Inherited from ValueExpressionAttributeBase) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |