 | ProjectionComparerTSource, TKey Constructor (FuncTSource, TKey, IComparerTKey) |
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 ProjectionComparer(
Func<TSource, TKey> projection,
IComparer<TKey> comparer
)
Public Sub New (
projection As Func(Of TSource, TKey),
comparer As IComparer(Of TKey)
)
public:
ProjectionComparer(
Func<TSource, TKey>^ projection,
IComparer<TKey>^ comparer
)
new :
projection : Func<'TSource, 'TKey> *
comparer : IComparer<'TKey> -> ProjectionComparer
Parameters
- projection
- Type: SystemFuncTSource, TKey
Projection to use during comparisons - comparer
- Type: System.Collections.GenericIComparerTKey
The comparer to use on the keys. May be null, in
which case the default comparer will be used.
See Also