public DictionarySaveable(SaveData data) { Data = data.GetObjectsCollection <DictionaryPairSaveable>(SaveKeyData) .Select(pair => new KeyValuePair <object, object>(pair.Key, pair.Value)).ToArray(); }
public DictionaryPairSaveable(SaveData data) { Key = data.Values[SaveKeyKey]; Value = data.Values[SaveKeyValue]; }