ReadOnlyObservableSet<T> Class
Provides the base class for a generic IReadOnlyObservableSet<T>.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | ReadOnlyObservableSet<T>(IEqualityComparer<T>) | Initializes a new instance of the ReadOnlyObservableSet<T> class that is empty and uses the specified equality comparer for the set type.. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements actually contained in the ReadOnlyObservableSet<T>. |
| Name | Description | |
|---|---|---|
![]() | AddItem(T) | Adds the specified element to a set. |
![]() | ClearItems() | Removes all elements from a ReadOnlyObservableSet<T> object. |
![]() | Contains(T) | Determines whether an element is in the ReadOnlyObservableSet<T>. |
![]() | Contains(Object) | Determines whether an element is in the ReadOnlyObservableSet<T>. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the ReadOnlyObservableSet<T>. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnCollectionChanged(NotifyCollectionChangedEventArgs) | Invoked when the collection is changed. |
![]() | OnItemAdded(T) | Invoked when an element is added to the set. |
![]() | OnItemRemoved(T) | Invoked when an element is removed from the set. |
![]() | OnItemsCleared(IEnumerable<T>) | Invoked when the set is cleared. |
![]() | RemoveItem(T) | Removes the specified element from a ReadOnlyObservableSet<T> object. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | CollectionChanged | Occurs when an item is added, removed, changed, moved, or the entire set is refreshed. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the ReadOnlyObservableSet<T>. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





