예제 #1
0
 internal Enumerator(LockFreeReaderHashtableOfPointers <TKey, TValue> hashtable)
 {
     _hashtable = hashtable;
     _hashtableContentsToEnumerate = hashtable._hashtable;
     _index   = 0;
     _current = default(TValue);
 }
예제 #2
0
 public static Enumerator Get(LockFreeReaderHashtableOfPointers <TKey, TValue> hashtable)
 {
     return(new Enumerator(hashtable));
 }