Declaration
public static CustomEqualityComparer<T> By<TBy>(
Func<T, TBy> selector,
IEqualityComparer<TBy> comparer
)Summary
Creates and returns an equality comparer that compares the equality of objects by comparing the equality of
the result of a selector function.
Generic type parameters
| TBy | This type parameter is not documented. |
Parameters
| Func<T, TBy> | selector |
Function selecting the actual value to be compared. |
| IEqualityComparer<TBy> | comparer |
Comparer to use for comparing the results of the selector function. |