Share via


IReadOnlyObservableSet<T> Interface

Definition

A readonly observable collection that provides for constant time Contains look up.

generic <typename T>
public interface class IReadOnlyObservableSet : Microsoft::VisualStudio::Shell::IReadOnlyObservableSet, System::Collections::Generic::IEnumerable<T>, System::Collections::Specialized::INotifyCollectionChanged
public interface IReadOnlyObservableSet<T> : Microsoft.VisualStudio.Shell.IReadOnlyObservableSet, System.Collections.Generic.IEnumerable<T>, System.Collections.Specialized.INotifyCollectionChanged
type IReadOnlyObservableSet<'T> = interface
    interface IReadOnlyObservableSet
    interface IEnumerable
    interface INotifyCollectionChanged
    interface seq<'T>
Public Interface IReadOnlyObservableSet(Of T)
Implements IEnumerable(Of T), INotifyCollectionChanged, IReadOnlyObservableSet

Type Parameters

T

The type of items stored in the set.

Derived
Implements

Remarks

This interface is used by the ReadOnlyObservableSet<T> base class to specifically filter hierarchy items (not progressive nodes) in a solution filter. If you are creating a solution filter from scratch, use IReadOnlyObservableSet.

Properties

Count

Gets the number of elements contained in the IReadOnlyObservableSet.

(Inherited from IReadOnlyObservableSet)

Methods

Contains(Object)

Determines whether the IReadOnlyObservableSet contains a specific value.

(Inherited from IReadOnlyObservableSet)
Contains(T)

Determines whether the IReadOnlyObservableSet<T> contains a specific value.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to