-
Notifications
You must be signed in to change notification settings - Fork 2
Comparers
Tomáš Bouda edited this page Nov 21, 2017
·
1 revision
Allows you to compare inline with linq query
Type Param | Description |
---|---|
T |
🔹 Method Comparers.InlineComparer1.#ctor(System.Func{
0,0,System.Boolean},System.Func{
0,System.Int32})
Creates instance of `1
Param | Description |
---|---|
equals | Pass lambda expression for comparison (t1, t2) => t1.Id == t2.Id |
Param | Description |
---|---|
hashCode | Pass lambda expression for GetHashCode function. i => i.Id.GetHashCode() |
Param | Description |
---|---|
x | |
y |
Returns:
Param | Description |
---|---|
obj |
Returns: