Udostępnij za pośrednictwem


ReadOnlyObservableSet<T>(IEqualityComparer<T>) Constructor

Definition

Initializes a new instance of the ReadOnlyObservableSet<T> class that is empty and uses the specified equality comparer for the set type..

protected ReadOnlyObservableSet (System.Collections.Generic.IEqualityComparer<T> comparer = default);
new Microsoft.VisualStudio.Shell.ReadOnlyObservableSet<'T> : System.Collections.Generic.IEqualityComparer<'T> -> Microsoft.VisualStudio.Shell.ReadOnlyObservableSet<'T>
Protected Sub New (Optional comparer As IEqualityComparer(Of T) = Nothing)

Parameters

comparer
IEqualityComparer<T>

The implementation to use when comparing values in the set, or null to use the default EqualityComparer implementation for the set type.

Applies to