/[xmltv_parser]/trunk/libxmltv/Core/PropertyDictionary.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/PropertyDictionary.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/PropertyDictionary.cs	2013/03/10 08:21:30	92
+++ trunk/libxmltv/Core/PropertyDictionary.cs	2013/03/10 08:45:58	94
@@ -142,17 +142,19 @@
             public PropertyDictionaryEnumerator(PropertyDictionary<TKey, TValue> dictionary, int getEnumeratorRetType) 
             {
                 this.dictionary = dictionary;
+                this.version = dictionary.version;
+                this.index = 0;
                 this.getEnumeratorRetType = getEnumeratorRetType;
+                this.current = new PropertyValuePair<TKey, TValue>();
             }
 
             public PropertyValuePair<TKey, TValue> Current
             {
-                get { throw new NotImplementedException(); }
+                get { return this.current; }
             }
 
             public void Dispose()
             {
-                throw new NotImplementedException();
             }
 
             object IEnumerator.Current
@@ -190,10 +192,7 @@
                 this.index = this.dictionary.Count() + 1;
                 this.current = new PropertyValuePair<TKey, TValue>();
                 return false;
-
-
             }
-
             public void Reset()
             {
                 if (this.version != this.dictionary.version)

 

  ViewVC Help
Powered by ViewVC 1.1.22