 | ProjectionEqualityComparerTSource, TKey Constructor (FuncTSource, TKey, IEqualityComparerTKey) |
Creates a new instance using the specified projection, which must not be null.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic ProjectionEqualityComparer(
Func<TSource, TKey> projection,
IEqualityComparer<TKey> comparer
)
Public Sub New (
projection As Func(Of TSource, TKey),
comparer As IEqualityComparer(Of TKey)
)
public:
ProjectionEqualityComparer(
Func<TSource, TKey>^ projection,
IEqualityComparer<TKey>^ comparer
)
new :
projection : Func<'TSource, 'TKey> *
comparer : IEqualityComparer<'TKey> -> ProjectionEqualityComparer
Parameters
- projection
- Type: SystemFuncTSource, TKey
Projection to use during comparisons - comparer
- Type: System.Collections.GenericIEqualityComparerTKey
The comparer to use on the keys. May be null, in
which case the default comparer will be used.
See Also