![]() |
Paradox Game Engine
v1.0.0 beta06
|
A collection of properties. More...
Public Member Functions | |
PropertyCollection () | |
Initializes a new instance of the PropertyCollection class. More... | |
PropertyCollection (IEnumerable< KeyValuePair< PropertyKey, object >> dictionary) | |
Initializes a new instance of the PropertyCollection class. More... | |
object | Get (PropertyKey key) |
Gets a value for the specified key, null if not found. More... | |
T | Get< T > (PropertyKey< T > key) |
Gets a value for the specified key, null if not found. More... | |
void | Set (PropertyKey key, object value) |
Sets a value for the specified key. More... | |
void | Set< T > (PropertyKey< T > key, T value) |
Sets a value for the specified key. More... | |
void | CopyTo (IDictionary< PropertyKey, object > properties, bool overrideValues) |
Copies this properties to a output dictionary. More... | |
A collection of properties.
Definition at line 14 of file PropertyCollection.cs.
SiliconStudio.Assets.PropertyCollection.PropertyCollection | ( | ) |
Initializes a new instance of the PropertyCollection class.
Definition at line 19 of file PropertyCollection.cs.
SiliconStudio.Assets.PropertyCollection.PropertyCollection | ( | IEnumerable< KeyValuePair< PropertyKey, object >> | dictionary | ) |
Initializes a new instance of the PropertyCollection class.
dictionary | The dictionary. |
Definition at line 27 of file PropertyCollection.cs.
void SiliconStudio.Assets.PropertyCollection.CopyTo | ( | IDictionary< PropertyKey, object > | properties, |
bool | overrideValues | ||
) |
Copies this properties to a output dictionary.
properties | The dictionary to receive a copy of the properties of this instance. |
overrideValues | if set to true [override values]. |
System.ArgumentNullException | properties |
Definition at line 83 of file PropertyCollection.cs.
object SiliconStudio.Assets.PropertyCollection.Get | ( | PropertyKey | key | ) |
Gets a value for the specified key, null if not found.
key | The key. |
Definition at line 37 of file PropertyCollection.cs.
T SiliconStudio.Assets.PropertyCollection.Get< T > | ( | PropertyKey< T > | key | ) |
Gets a value for the specified key, null if not found.
T | Type of the value |
key | The key. |
Definition at line 50 of file PropertyCollection.cs.
void SiliconStudio.Assets.PropertyCollection.Set | ( | PropertyKey | key, |
object | value | ||
) |
Sets a value for the specified key.
key | The key. |
value | The value. |
Definition at line 61 of file PropertyCollection.cs.
void SiliconStudio.Assets.PropertyCollection.Set< T > | ( | PropertyKey< T > | key, |
T | value | ||
) |
Sets a value for the specified key.
T | Type of the value. |
key | The key. |
value | The value. |
Definition at line 72 of file PropertyCollection.cs.