Ejemplo n.º 1
0
 internal Enumerator(DictionaryEx <TKey, TValue> dictionary)
 {
     this.dictionary = dictionary;
     version         = dictionary.version;
     index           = 0;
     currentValue    = default(TValue);
 }
Ejemplo n.º 2
0
 internal Enumerator(DictionaryEx <TKey, TValue> dictionary, int getEnumeratorRetType)
 {
     this.dictionary           = dictionary;
     version                   = dictionary.version;
     index                     = 0;
     this.getEnumeratorRetType = getEnumeratorRetType;
     current                   = new KeyValuePair <TKey, TValue>();
 }
Ejemplo n.º 3
0
 public ValueCollection(DictionaryEx <TKey, TValue> dictionary)
 {
     if (dictionary == null)
     {
         //ThrowHelper.ThrowArgumentNullException(ExceptionArgument.dictionary);
     }
     this.dictionary = dictionary;
 }
Ejemplo n.º 4
0
 public KeyCollection(DictionaryEx <TKey, TValue> dictionary)
 {
     this.dictionary = dictionary;
 }