ConcurrentHashSet<T>.Comparer - свойство
Gets the IEqualityComparer<T>
that is used to determine equality for the values in the set.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.0.7
public IEqualityComparer<T> Comparer { get; }
Public ReadOnly Property Comparer As IEqualityComparer(Of T)
Get
public:
property IEqualityComparer<T>^ Comparer {
IEqualityComparer<T>^ get ();
}
member Comparer : IEqualityComparer<'T> with get
Значение свойства
IEqualityComparer<T>
The
IEqualityComparer<T> generic interface implementation that is used to
provide hash values and determine equality for the values in the current
ConcurrentHashSet<T>.
ConcurrentHashSet<T> requires an equality implementation to determine
whether values are equal. You can specify an implementation of the
IEqualityComparer<T>
generic interface by using a constructor that accepts a comparer parameter;
if you do not specify one, the default generic equality comparer
Default is used.