wasSharp

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 22  →  ?path2? @ 23
/Collections/Specialized/ObservableHashSet.cs
@@ -19,7 +19,7 @@
/// An implementation of an observable HashSet.
/// </summary>
/// <typeparam name="T">the object type</typeparam>
public class ObservableHashSet<T> : ICollection<T>, INotifyCollectionChanged
public class ObservableHashSet<T> : ICollection<T>, INotifyCollectionChanged, IEnumerable<T>
{
private readonly HashSet<T> store = new HashSet<T>();
 
@@ -132,5 +132,10 @@
removed));
IsVirgin = false;
}
 
public IEnumerable<T> AsEnumerable()
{
return store.AsEnumerable();
}
}
}