| 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
)
Public Sub New (
selector As Func(Of T, Object),
comparer As Func(Of Object, Object, Boolean),
hashCodeGenerator As Func(Of Object, Integer)
)
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