[]
Correlates the items of this indexed collection with the items of another sequence and returns the combined items with matching keys.
IEnumerable<TResult> Join<T2, TResult>(IEnumerable<T2> source, Func<T2, TKey> keySelector, Func<T, T2, TResult> resultSelector, JoinOperator op)
Type | Name | Description |
---|---|---|
IEnumerable<T2> | source | The second sequence to join to this collection. |
Func<T2, TKey> | keySelector | A function to extract from an item of the second sequence the value to match against this collection's key value. |
Func<T, T2, TResult> | resultSelector | A function to create a result element from two matching elements. |
JoinOperator | op | A comparison operator to match elements. |
Type | Description |
---|---|
IEnumerable<TResult> | Enumeration of objects obtained by applying the result selector to pairs of joined elements of the two collections. |
Name | Description |
---|---|
T2 | The type of the elements of the second sequence. |
TResult | The type of the result elements. |
Correlates the items of this indexed collection with the items of another indexed collection and returns the combined items with matching keys.
IEnumerable<TResult> Join<T2, TResult>(IIndexScanner<T2, TKey> source, Func<T, T2, TResult> resultSelector, JoinOperator op)
Type | Name | Description |
---|---|---|
IIndexScanner<T2, TKey> | source | The second indexed collection to join to this collection. |
Func<T, T2, TResult> | resultSelector | A function to create a result element from two matching elements. |
JoinOperator | op | A comparison operator to match elements. |
Type | Description |
---|---|
IEnumerable<TResult> | Enumeration of objects obtained by applying the result selector to pairs of joined elements of the two collections. |
Name | Description |
---|---|
T2 | The type of the elements of the second collection. |
TResult | The type of the result elements. |
Matching of two elements is performed by matching their keys.