Assembly: VM.dll Represents an observable set of values.
Type Parameters
T
The type of elements in the hash set.
Inheritance
object ← HashSet<T> ← ObservableHashSet<T>Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
ObservableHashSet()
ObservableHashSet(IEnumerable<T>)
Parameters
collection IEnumerable<T>
ObservableHashSet(IEqualityComparer<T>)
Parameters
comparer IEqualityComparer<T>
ObservableHashSet(IEnumerable<T>, IEqualityComparer<T>)
Parameters
collection IEnumerable<T>
comparer IEqualityComparer<T>
Methods
Add(T)
Adds the specified element to a set.Parameters
item T
The element to add to the set.
Returns
bool true if the element is added to the ObservableHashSet`1 object; false if the element is already present.Clear()
Removes all elements from a ObservableHashSet`1 object.Dispose()
ExceptWith(IEnumerable<T>)
Removes all elements in the specified collection from the current ObservableHashSet`1 object.Parameters
other IEnumerable<T>
The collection of items to remove from the ObservableHashSet`1 object.
IntersectWith(IEnumerable<T>)
Modifies the current ObservableHashSet`1 object to contain only elements that are present in that object and in the specified collection.Parameters
other IEnumerable<T>
The collection to compare to the current ObservableHashSet`1 object.
Remove(T)
Removes the specified element from a ObservableHashSet`1 object.Parameters
item T
The element to remove.
Returns
bool true if the element is successfully found and removed; otherwise, false. This method returns false if item is not found in the ObservableHashSet`1 object.Reset()
SymmetricExceptWith(IEnumerable<T>)
Modifies the current ObservableHashSet`1 object to contain only elements that are present either in that object or in the specified collection, but not both.Parameters
other IEnumerable<T>
The collection to compare to the current ObservableHashSet`1 object.
UnionWith(IEnumerable<T>)
Modifies the current ObservableHashSet`1 object to contain all elements that are present in itself, the specified collection, or both.Parameters
other IEnumerable<T>
The collection to compare to the current ObservableHashSet`1 object.