Click or drag to resize

DelegateEqualityComparerT(FuncT, Object, FuncObject, Object, Boolean, FuncObject, Int32) Constructor

Initializes a new instance of the DelegateEqualityComparerT class.

Namespace: TomsToolbox.Essentials
Assembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public DelegateEqualityComparer(
	Func<T, Object?> selector,
	Func<Object?, Object?, bool> comparer,
	Func<Object?, int> hashCodeGenerator
)

Parameters

selector  FuncT, Object
The selector that selects the object to compare, if e.g. two objects can be compared by a single property.
comparer  FuncObject, Object, Boolean
The compare function.
hashCodeGenerator  FuncObject, Int32
The hash code generator.
See Also