예제 #1
0
        public IEnumerable <Entry> Serialize()
        {
            var entries = new List <Entry>();

            for (int index = 0; index < _list.Count; index++)
            {
                var entry = CollectionStrategyTools.CreateSub(_list[index], index, _customSerialization);
                entries.Add(entry);
            }
            return(entries);
        }
        public IEnumerable <Entry> Serialize()
        {
            var entries = new List <Entry>();

            for (var i = 0; i < _array.Length; i++)
            {
                var value = _array.GetValue(i);
                var entry = CollectionStrategyTools.CreateSub(value, i, _serialization);
                entries.Add(entry);
            }
            return(entries);
        }
 public IEnumerable <string> Keys()
 {
     return(CollectionStrategyTools.GenerateKeys(_currentArray.Length));
 }
예제 #4
0
 public IEnumerable <string> Keys()
 {
     return(CollectionStrategyTools.GenerateKeys(_list.Count));
 }