| DelegateEqualityComparerT(FuncT, Object, FuncObject, Object, Boolean, FuncObject, Int32) Constructor |
Namespace: TomsToolbox.EssentialsAssembly: 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
)
Public Sub New (
selector As Func(Of T, Object),
comparer As Func(Of Object, Object, Boolean),
hashCodeGenerator As Func(Of Object, Integer)
)
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