Click or drag to resize

FunctionComparerT, G Constructor

Constructor.

Namespace:  WhetStone.Comparison
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public FunctionComparer(
	Func<T, G> f,
	IComparer<G> c = null,
	IEqualityComparer<G> e = null
)

Parameters

f
Type: SystemFuncT, G
The mapper function to map from T to G.
c (Optional)
Type: System.Collections.GenericIComparerG
The internal IComparerT to compare mapped elements with. for default.
e (Optional)
Type: System.Collections.GenericIEqualityComparerG
the internal IEqualityComparerT to hash and compare equality of mapped elements with. for c to compare equality and default hasher.
See Also