/[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

revision 92 by william, Sun Mar 10 08:21:30 2013 UTC revision 93 by william, Sun Mar 10 08:44:53 2013 UTC
# Line 28  namespace libxmltv.Core Line 28  namespace libxmltv.Core
28      }      }
29      public class PropertyDictionary : PropertyDictionary<string, object>      public class PropertyDictionary : PropertyDictionary<string, object>
30      {      {
31          public PropertyDictionary() : base() { }          public PropertyDictionary() : base()
32            {
33                ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection);
34            }
35          public PropertyDictionary(IPropertyDictionary dictionary) : base(dictionary) { }          public PropertyDictionary(IPropertyDictionary dictionary) : base(dictionary) { }
36          public PropertyDictionary(IEqualityComparer<string> comparer) : base(comparer) { }          public PropertyDictionary(IEqualityComparer<string> comparer) : base(comparer) { }
37          public PropertyDictionary(int capacity) :base(capacity) { }          public PropertyDictionary(int capacity) :base(capacity) { }
# Line 142  namespace libxmltv.Core Line 145  namespace libxmltv.Core
145              public PropertyDictionaryEnumerator(PropertyDictionary<TKey, TValue> dictionary, int getEnumeratorRetType)              public PropertyDictionaryEnumerator(PropertyDictionary<TKey, TValue> dictionary, int getEnumeratorRetType)
146              {              {
147                  this.dictionary = dictionary;                  this.dictionary = dictionary;
148                    this.version = dictionary.version;
149                    this.index = 0;
150                  this.getEnumeratorRetType = getEnumeratorRetType;                  this.getEnumeratorRetType = getEnumeratorRetType;
151                    this.current = new PropertyValuePair<TKey, TValue>();
152              }              }
153    
154              public PropertyValuePair<TKey, TValue> Current              public PropertyValuePair<TKey, TValue> Current
155              {              {
156                  get { throw new NotImplementedException(); }                  get { return this.current; }
157              }              }
158    
159              public void Dispose()              public void Dispose()
160              {              {
                 throw new NotImplementedException();  
161              }              }
162    
163              object IEnumerator.Current              object IEnumerator.Current
# Line 190  namespace libxmltv.Core Line 195  namespace libxmltv.Core
195                  this.index = this.dictionary.Count() + 1;                  this.index = this.dictionary.Count() + 1;
196                  this.current = new PropertyValuePair<TKey, TValue>();                  this.current = new PropertyValuePair<TKey, TValue>();
197                  return false;                  return false;
   
   
198              }              }
   
199              public void Reset()              public void Reset()
200              {              {
201                  if (this.version != this.dictionary.version)                  if (this.version != this.dictionary.version)

Legend:
Removed from v.92  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.22