ReadOnlyObservableSet<T>(IEqualityComparer<T>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.