-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_KeyEqualityComparer_Create__2
Andrew Koryavchenko edited this page Jun 17, 2018
·
7 revisions
Creates a KeyEqualityComparer(T, TKey).
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static KeyEqualityComparer<T, TKey> Create<T, TKey>(
Func<T, TKey> keySelector
)
VB
Public Shared Function Create(Of T, TKey) (
keySelector As Func(Of T, TKey)
) As KeyEqualityComparer(Of T, TKey)
F#
static member Create :
keySelector : Func<'T, 'TKey> -> KeyEqualityComparer<'T, 'TKey>
- keySelector
- Type: System.Func(T, TKey)
The function to extract the key for each element.
- T
- The type of the comparing elements.
- TKey
- The type of the key.
Type: KeyEqualityComparer(T, TKey)
A KeyEqualityComparer(T, TKey).
KeyEqualityComparer Class
Create Overload
CodeJam.Collections Namespace