示例#1
0
 internal Enumerator(LockFreeReaderHashtable <TKey, TValue> hashtable)
 {
     _sentinel = hashtable._entryInProcessOfWritingSentinel;
     _hashtableContentsToEnumerate = hashtable._hashtable;
     _index   = 0;
     _current = default(TValue);
 }
示例#2
0
 public static Enumerator Get(LockFreeReaderHashtable <TKey, TValue> hashtable)
 {
     return(new Enumerator(hashtable));
 }
示例#3
0
 internal Enumerator(LockFreeReaderHashtable <TKey, TValue> hashtable)
 {
     _hashtableContentsToEnumerate = hashtable._hashtable;
     _index   = 0;
     _current = default(TValue);
 }