|
XposeCraft
1.0.1-rc1
Developer API
|
Represents a generic collection of key/value pairs. More...
Public Member Functions | |
| void | OnBeforeSerialize () |
| void | OnAfterDeserialize () |
| void | Add (TKey key, TValue value) |
| bool | ContainsKey (TKey key) |
| bool | Remove (TKey key) |
| bool | TryGetValue (TKey key, out TValue value) |
| void | Add (KeyValuePair< TKey, TValue > item) |
| void | Clear () |
| bool | Contains (KeyValuePair< TKey, TValue > item) |
| void | CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex) |
| bool | Remove (KeyValuePair< TKey, TValue > item) |
| IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
Properties | |
| ICollection< TKey > | Keys [get] |
| ICollection< TValue > | Values [get] |
| int | Count [get] |
| bool | IsReadOnly [get] |
| TValue | this[TKey key] [get, set] |
Represents a generic collection of key/value pairs.
Can be used for serialization purposes, which implies that it can be used during a hot-swap in Unity Editor. Source: http://stackoverflow.com/questions/36194178/unity-serialized-dictionary-index-out-of-range-after-12-items
| TKey | The type of keys in the dictionary. |
| TValue | The type of values in the dictionary. |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Add | ( | TKey | key, |
| TValue | value | ||
| ) |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Add | ( | KeyValuePair< TKey, TValue > | item | ) |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Clear | ( | ) |
| bool XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Contains | ( | KeyValuePair< TKey, TValue > | item | ) |
| bool XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.ContainsKey | ( | TKey | key | ) |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.CopyTo | ( | KeyValuePair< TKey, TValue > [] | array, |
| int | arrayIndex | ||
| ) |
| IEnumerator<KeyValuePair<TKey, TValue> > XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.GetEnumerator | ( | ) |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.OnAfterDeserialize | ( | ) |
| void XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.OnBeforeSerialize | ( | ) |
| bool XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Remove | ( | TKey | key | ) |
| bool XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.Remove | ( | KeyValuePair< TKey, TValue > | item | ) |
| bool XposeCraft.Collections.SerializableDictionary1< TKey, TValue >.TryGetValue | ( | TKey | key, |
| out TValue | value | ||
| ) |
|
get |
|
get |
|
get |
|
getset |
|
get |