ObservableSet<T> Class |
Namespace: ShellBoost.Core.Utilities
public class ObservableSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable, INotifyPropertyChanged
The ObservableSet<T> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObservableSet<T>() |
Initializes a new instance of the ObservableSet<T> class.
|
![]() | ObservableSet<T>(IEqualityComparer<T>) |
Initializes a new instance of the ObservableSet class.
|
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements contained in the ICollection<T>.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds an element to the current set and returns a value to indicate if the element was successfully added.
|
![]() | Clear |
Removes all items from the ICollection<T>.
|
![]() | Contains |
Determines whether the ICollection<T> contains a specific value.
|
![]() | CopyTo | |
![]() | ExceptWith |
Removes all elements in the specified collection from the current set.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | IntersectWith |
Modifies the current set so that it contains only elements that are also in a specified collection.
|
![]() | IsProperSubsetOf |
Determines whether the current set is a proper (strict) subset of a specified collection.
|
![]() | IsProperSupersetOf |
Determines whether the current set is a proper (strict) superset of a specified collection.
|
![]() | IsSubsetOf |
Determines whether a set is a subset of a specified collection.
|
![]() | IsSupersetOf |
Determines whether the current set is a superset of a specified collection.
|
![]() | OnCollectionChanged |
Called when the collection changed.
|
![]() | OnPropertyChanged |
Handles the PropertyChanged event.
|
![]() | Overlaps |
Determines whether the current set overlaps with the specified collection.
|
![]() | Remove |
Removes the first occurrence of a specific object from the ICollection<T>.
|
![]() | SetEquals |
Determines whether the current set and the specified collection contain the same elements.
|
![]() | SymmetricExceptWith |
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.
|
![]() | UnionWith |
Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
|
Name | Description | |
---|---|---|
![]() | PropertyChanged |
Occurs when a property value changes.
|