Пример #1
0
 public Enumerator(UnsafeHashSet *set)
 {
     _keyOffset = set->_collection.KeyOffset;
     _iterator  = new UnsafeHashCollection.Enumerator(&set->_collection);
 }
Пример #2
0
 public KeyEnumerator(UnsafeDictionary *dictionary)
 {
     _keyOffset = dictionary->_collection.KeyOffset;
     _iterator  = new UnsafeHashCollection.Enumerator(&dictionary->_collection);
 }
Пример #3
0
 public ValueEnumerator(UnsafeDictionary *dictionary)
 {
     _valueOffset = dictionary->_valueOffset;
     _iterator    = new UnsafeHashCollection.Enumerator(&dictionary->_collection);
 }
Пример #4
0
 public Enumerator(UnsafeDictionary *map)
 {
     _valueOffset = map->_valueOffset;
     _keyOffset   = map->_collection.KeyOffset;
     _iterator    = new UnsafeHashCollection.Enumerator(&map->_collection);
 }