public KeyedCollection(string[] keys, T[] items)
 {
     _keys         = new LightCollection <string>(keys);
     _items        = new LightCollection <T>(items);
     _readonlyColl = null;
 }
 public KeyedCollection(int initialSize)
 {
     _keys         = new LightCollection <string>(initialSize);
     _items        = new LightCollection <T>(initialSize);
     _readonlyColl = null;
 }
 public ReadOnlyCollection(T[] array)
 {
     _coll = new LightCollection <T>(array);
 }
 public ReadOnlyCollection(ILightCollection <T> collection)
 {
     _coll = (LightCollection <T>)collection; // new LightCollection<T>(collection);
 }
示例#5
0
 internal Enumerator(LightCollection <T> list)
 {
     _list    = list;
     _index   = 0;
     _current = default(T);
 }