コード例 #1
0
 internal Enumerator(UDictionary <TKey, TValue> dictionary)
 {
     this.dictionary = dictionary;
     version         = dictionary.version;
     index           = 0;
     currentValue    = default(TValue);
 }
コード例 #2
0
 public KeyCollection(UDictionary <TKey, TValue> dictionary)
 {
     if (dictionary == null)
     {
         throw new ArgumentNullException("dictionary");
     }
     this.dictionary = dictionary;
 }
コード例 #3
0
 internal Enumerator(UDictionary <TKey, TValue> dictionary, int getEnumeratorRetType)
 {
     this.dictionary           = dictionary;
     version                   = dictionary.version;
     index                     = 0;
     this.getEnumeratorRetType = getEnumeratorRetType;
     current                   = new KeyValuePair <TKey, TValue>();
 }