示例#1
0
 internal Enumerator(RTSDict <T> dictionary)
 {
     this.dictionary = dictionary;
     version         = dictionary.version;
     index           = 0;
     currentValue    = default(T);
 }
示例#2
0
 internal Enumerator(RTSDict <T> dictionary)
 {
     this.dictionary = dictionary;
     version         = dictionary.version;
     index           = 0;
     currentKey      = default(string);
 }
示例#3
0
 internal Enumerator(RTSDict <T> dictionary, int getEnumeratorRetType)
 {
     this.dictionary           = dictionary;
     version                   = dictionary.version;
     index                     = 0;
     this.getEnumeratorRetType = getEnumeratorRetType;
     current                   = default(KeyValuePair <string, T>);
 }
示例#4
0
 public ValueCollection(RTSDict <T> dictionary)
 {
     if (dictionary == null)
     {
         throw new ArgumentNullException("dictionary");
     }
     this.dictionary = dictionary;
 }