template class MAGES::Utilities::Collections::SerializableDictionary

Overview

A serialable dictionary. More…

template 
class SerializableDictionary:
    public Dictionary< TKey, TValue >,
    public ISerializationCallbackReceiver
{
public:
    // structs

    struct SerializedKeyValuePair;

    // methods

    void OnAfterDeserialize();
    void OnBeforeSerialize();
};

Detailed Documentation

A serialable dictionary.

Uses lists to store the keys and values for serialization.

Parameters:

TKey

Key type.

TValue

Value type.

See also:

Dictionary<TKey, TValue>

Methods

void OnAfterDeserialize()

Called before Deserialization to restore values.

void OnBeforeSerialize()

Called before serialization to store values into serialized lists.