PropertyKey<T> Class
Namespace: Stride.CoreAssembly: Stride.Core.dll
A class that represents a typed tag propety.
Derived from PropertyKey<T>:
public sealed class PropertyKey<T> : PropertyKey, IComparable
Type Parameters
Name | Description |
---|---|
T | Type of the property |
Name | Description | |
---|---|---|
Constructors | ||
PropertyKey(String, Type, PropertyKeyMetadata[]) | Initializes a new instance of the PropertyKey<T> class. |
|
Properties | ||
DefaultValueMetadataT | Gets the default value metadata. |
|
IsValueType | ||
ObjectInvalidationMetadataT | Gets the object invalidation metadata (may be null). |
|
ValidateValueMetadataT | Gets the validate value metadata (may be null). |
Constructors
PropertyKey(String, Type, PropertyKeyMetadata[])
Initializes a new instance of the PropertyKey<T> class.
public PropertyKey(string name, Type ownerType, params PropertyKeyMetadata[] metadatas)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Type | ownerType | Type of the owner. |
PropertyKeyMetadata[] | metadatas | The metadatas. |
Properties
DefaultValueMetadataT
Gets the default value metadata.
public DefaultValueMetadata<T> DefaultValueMetadataT { get; }
Property Value
Type | Description |
---|---|
DefaultValueMetadata<T> |
IsValueType
public override bool IsValueType { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
ObjectInvalidationMetadataT
Gets the object invalidation metadata (may be null).
public ObjectInvalidationMetadata<T> ObjectInvalidationMetadataT { get; }
Property Value
Type | Description |
---|---|
ObjectInvalidationMetadata<T> | The object invalidation metadata. |
ValidateValueMetadataT
Gets the validate value metadata (may be null).
public ValidateValueMetadata<T> ValidateValueMetadataT { get; }
Property Value
Type | Description |
---|---|
ValidateValueMetadata<T> | The validate value metadata. |