Пример #1
0
        public DictionaryValueEnumerator(System.Collections.Generic.IDictionary <TKey, TValue> dictionary)
        {
            if (dictionary == null)
            {
                throw global::McgInterop.Helpers.NewException_ArgumentNullException_dictionary();
            }

            this.dictionary  = dictionary;
            this.enumeration = dictionary.GetEnumerator();
        }
Пример #2
0
                    public DictionaryValueEnumerator(global::System.Collections.Generic.IDictionary <K, V> dictionary)
                    {
                        if (dictionary == null)
                        {
                            throw new ArgumentNullException(nameof(dictionary));
                        }

                        this.dictionary = dictionary;
                        enumeration     = dictionary.GetEnumerator();
                    }
Пример #3
0
 public void Reset()
 {
     enumeration = dictionary.GetEnumerator();
 }