Click or drag to resize

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

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public DelegateEqualityComparer(
	Func<T, Object?> selector,
	Func<Object?, Object?, bool> comparer,
	Func<Object?, int> hashCodeGenerator
)

Parameters

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