Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Core.PropertyKey Class Referenceabstract

A class that represents a tag propety. More...

Inheritance diagram for SiliconStudio.Core.PropertyKey:
IComparable SiliconStudio.Core.PropertyKey< T > SiliconStudio.Paradox.Effects.ParameterKey SiliconStudio.Paradox.Effects.ParameterKey< T >

Public Member Functions

int CompareTo (object obj)
 

Protected Member Functions

 PropertyKey (string name, Type propertyType, Type ownerType, params PropertyKeyMetadata[] metadatas)
 Initializes a new instance of the PropertyKey class. More...
 

Properties

string Name [get, set]
 Gets the name of this key. More...
 
DefaultValueMetadata DefaultValueMetadata [get, set]
 Gets the default value metadata. More...
 
ValidateValueMetadata ValidateValueMetadata [get, set]
 Gets the validate value metadata (may be null). More...
 
ObjectInvalidationMetadata ObjectInvalidationMetadata [get, set]
 Gets the object invalidation metadata (may be null). More...
 
AccessorMetadata AccessorMetadata [get, set]
 Gets the accessor metadata (may be null). More...
 
PropertyKeyMetadata[] Metadatas [get, set]
 Gets the metadatas. More...
 
Type OwnerType [get, set]
 Gets the type of the owner. More...
 
Type PropertyType [get, set]
 Gets the type of the property. More...
 
abstract bool IsValueType [get]
 

Detailed Description

A class that represents a tag propety.

Definition at line 17 of file PropertyKey.cs.

Constructor & Destructor Documentation

SiliconStudio.Core.PropertyKey.PropertyKey ( string  name,
Type  propertyType,
Type  ownerType,
params PropertyKeyMetadata[]  metadatas 
)
protected

Initializes a new instance of the PropertyKey class.

Parameters
nameThe name.
propertyTypeType of the property.
ownerTypeType of the owner.
metadatasThe metadatas.

Definition at line 28 of file PropertyKey.cs.

References DirectX.metadata.

Member Function Documentation

int SiliconStudio.Core.PropertyKey.CompareTo ( object  obj)

Definition at line 120 of file PropertyKey.cs.

Property Documentation

AccessorMetadata SiliconStudio.Core.PropertyKey.AccessorMetadata
getset

Gets the accessor metadata (may be null).

The accessor metadata.

Definition at line 91 of file PropertyKey.cs.

Referenced by SiliconStudio.Core.PropertyContainer.AddAccessorProperty(), SiliconStudio.Core.PropertyContainer.Get< T >(), and SiliconStudio.Core.PropertyContainer.Set< T >().

DefaultValueMetadata SiliconStudio.Core.PropertyKey.DefaultValueMetadata
getset

Gets the default value metadata.

Definition at line 66 of file PropertyKey.cs.

Referenced by SiliconStudio.Core.PropertyContainer.Get< T >(), and SiliconStudio.Core.PropertyContainer.Set< T >().

abstract bool SiliconStudio.Core.PropertyKey.IsValueType
get
PropertyKeyMetadata [] SiliconStudio.Core.PropertyKey.Metadatas
getset

Gets the metadatas.

Definition at line 100 of file PropertyKey.cs.

ObjectInvalidationMetadata SiliconStudio.Core.PropertyKey.ObjectInvalidationMetadata
getset

Gets the object invalidation metadata (may be null).

The object invalidation metadata.

Definition at line 85 of file PropertyKey.cs.

Referenced by SiliconStudio.Core.PropertyContainer.Set< T >().

Type SiliconStudio.Core.PropertyKey.OwnerType
getset

Gets the type of the owner.

The type of the owner.

Definition at line 108 of file PropertyKey.cs.

Referenced by SiliconStudio.Paradox.Effects.ParameterKeys.Merge().

Type SiliconStudio.Core.PropertyKey.PropertyType
getset

Gets the type of the property.

The type of the property.

Definition at line 116 of file PropertyKey.cs.

ValidateValueMetadata SiliconStudio.Core.PropertyKey.ValidateValueMetadata
getset

Gets the validate value metadata (may be null).

The validate value metadata.

Definition at line 79 of file PropertyKey.cs.

Referenced by SiliconStudio.Core.PropertyContainer.Set< T >().


The documentation for this class was generated from the following file: