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) { } |
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 |
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) |