Class PropertyKey<T>
A class that represents a typed tag propety.
public sealed class PropertyKey<T> : PropertyKey, IComparable
Type Parameters
T
Type of the property
- Inheritance
-
PropertyKey<T>
- Implements
- Inherited Members
Constructors
PropertyKey(string, Type, params PropertyKeyMetadata[])
Initializes a new instance of the PropertyKey<T> class.
public PropertyKey(string name, Type ownerType, params PropertyKeyMetadata[] metadatas)
Parameters
name
stringThe name.
ownerType
TypeType of the owner.
metadatas
PropertyKeyMetadata[]The metadatas.
Properties
DefaultValueMetadataT
Gets the default value metadata.
public DefaultValueMetadata<T> DefaultValueMetadataT { get; }
Property Value
IsValueType
public override bool IsValueType { get; }
Property Value
ObjectInvalidationMetadataT
Gets the object invalidation metadata (may be null).
public ObjectInvalidationMetadata<T> ObjectInvalidationMetadataT { get; }
Property Value
- ObjectInvalidationMetadata<T>
The object invalidation metadata.
ValidateValueMetadataT
Gets the validate value metadata (may be null).
public ValidateValueMetadata<T> ValidateValueMetadataT { get; }
Property Value
- ValidateValueMetadata<T>
The validate value metadata.