Exemple #1
0
        public System.Collections.IEnumerator GetEnumerator()
        {
            List <object> l = new List <object>(this.Keys);

            for (int i = 0; i < l.Count; i++)
            {
                object baseVal = l[i];
                object nullVal = l[i] = CustomStringDictionary.ObjToNull(l[i]);
                if (baseVal != nullVal)
                {
                    // we've transformed null, stop looking
                    break;
                }
            }
            return(l.GetEnumerator());
        }
Exemple #2
0
 public ExtraKeyEnumerator(CustomStringDictionary idDict)
 {
     _idDict = idDict;
 }