コード例 #1
0
 public Enumerator(KeyedCollection <T> coll)
 {
     this.m_KeyedColl = coll;
     this.m_Index     = 0;
     m_Current        = default(T);
 }
コード例 #2
0
 public TreeCollection(int initialSize)
 {
     _globalCollection = new KeyedCollection <TreeItem <T> >(initialSize);
     _globalValues     = new KeyedCollection <T>(initialSize);
     _rootItems        = new LightCollection <string>();
 }
コード例 #3
0
 internal TreeItemEnumerator(ref KeyedCollection <TreeItem <T> > globalCollection, LightCollection <string> rootItems)
 {
     _globalCollection = globalCollection;
     _rootItems        = rootItems;
 }