public virtual void AddRange(KeyedCollection <T> items) { if (items == null) { return; } AddRange(items.Keys, items.GetItems()); }
public ReadOnlyKeyedCollection(string[] keys, ILightCollection <T> items) { _coll = new KeyedCollection <T>(keys, items.GetItems()); }
public ReadOnlyKeyedCollection(IKeyedCollection <T> collection) { _coll = (KeyedCollection <T>)collection;//new KeyedCollection<T>(collection.Keys, collection.GetItems()); }
public ReadOnlyKeyedCollection(ILightCollection <T> collection) { string[] keys = CreateFreeKeys(collection.Count); _coll = new KeyedCollection <T>(keys, collection.GetItems()); }
public ReadOnlyKeyedCollection(string[] keys, T[] array) { _coll = new KeyedCollection <T>(keys, array); }
public Enumerator(KeyedCollection <T> coll) { this.m_KeyedColl = coll; this.m_Index = 0; m_Current = default(T); }