Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: CustomEqualityComparer<T>(Func<T, T, bool>)

Declaration

public CustomEqualityComparer<T>(
    Func<T, T, bool> comparison
)

Summary

Constructor which re-uses the default hash function. Use this overload only if using the objects’ original hash function is appropriate for this equality comparison.

Parameters

Func<T, T, bool>comparison Provides the comparison function for this equality comparer.