Exemple #1
0
 public GridRowSaveable(SaveData data)
 {
     Cells = data.GetObjectsCollection(SaveKeyCells);
 }
Exemple #2
0
        public GridSaveable(SaveData data)
        {
            var rows = data.GetObjectsCollection <GridRowSaveable>(SaveKeyRows);

            Rows = rows.Select(row => row.Cells).ToArray();
        }
Exemple #3
0
 public DictionarySaveable(SaveData data)
 {
     Data = data.GetObjectsCollection <DictionaryPairSaveable>(SaveKeyData)
            .Select(pair => new KeyValuePair <object, object>(pair.Key, pair.Value)).ToArray();
 }