Class SerializedDictionary<K, V, SK, SV>
Inheritance
SerializedDictionary<K, V, SK, SV>
Syntax
[Serializable]
public abstract class SerializedDictionary<K, V, SK, SV> : Dictionary<K, V>, IDictionary<K, V>, ICollection<KeyValuePair<K, V>>, IDictionary, ICollection, IReadOnlyDictionary<K, V>, IReadOnlyCollection<KeyValuePair<K, V>>, IEnumerable<KeyValuePair<K, V>>, IEnumerable, ISerializable, IDeserializationCallback, ISerializationCallbackReceiver
Type Parameters
Name |
Description |
K |
|
V |
|
SK |
|
SV |
|
Methods
DeserializeKey(SK)
Declaration
public abstract K DeserializeKey(SK serializedKey)
Parameters
Type |
Name |
Description |
SK |
serializedKey |
|
Returns
DeserializeValue(SV)
Deserialize value SV to V
Declaration
public abstract V DeserializeValue(SV serializedValue)
Parameters
Type |
Name |
Description |
SV |
serializedValue |
|
Returns
OnAfterDeserialize()
OnAfterDeserialize implementation.
Declaration
public void OnAfterDeserialize()
Implements
OnBeforeSerialize()
OnBeforeSerialize implementation.
Declaration
public void OnBeforeSerialize()
Implements
SerializeKey(K)
Declaration
public abstract SK SerializeKey(K key)
Parameters
Type |
Name |
Description |
K |
key |
|
Returns
SerializeValue(V)
Declaration
public abstract SV SerializeValue(V value)
Parameters
Type |
Name |
Description |
V |
value |
|
Returns
Extension Methods