Click or drag to resize

ObservableSetT Class

Represents a set that provides notifications when items get added, removed, or when the whole list is refreshed.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.UtilitiesObservableSetT

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class ObservableSet<T> : ISet<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, INotifyPropertyChanged

Type Parameters

T
The type of elements in the set.

The ObservableSetT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodAdd
Adds an element to the current set and returns a value to indicate if the element was successfully added.
Public methodClear
Public methodContains
Public methodCopyTo
Public methodExceptWith
Removes all elements in the specified collection from the current set.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIntersectWith
Modifies the current set so that it contains only elements that are also in a specified collection.
Public methodIsProperSubsetOf
Determines whether the current set is a proper (strict) subset of a specified collection.
Public methodIsProperSupersetOf
Determines whether the current set is a proper (strict) superset of a specified collection.
Public methodIsSubsetOf
Determines whether a set is a subset of a specified collection.
Public methodIsSupersetOf
Determines whether the current set is a superset of a specified collection.
Protected methodOnCollectionChanged
Called when the collection changed.
Protected methodOnPropertyChanged
Handles the PropertyChanged event.
Public methodOverlaps
Determines whether the current set overlaps with the specified collection.
Public methodRemove
Public methodSetEquals
Determines whether the current set and the specified collection contain the same elements.
Public methodSymmetricExceptWith
Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
Public methodUnionWith
Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also