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