'Declaration
Public Overloads Function Join (Of T2,TResult)( _ ByVal source As System.Collections.Generic.IEnumerable(Of T2), _ ByVal keySelector As System.Func(Of T2,TKey), _ ByVal resultSelector As System.Func(Of T,T2,TResult), _ ByVal op As JoinOperator _ ) As System.Collections.Generic.IEnumerable(Of TResult)
public System.Collections.Generic.IEnumerable<TResult> Join<T2,TResult>( System.Collections.Generic.IEnumerable<T2> source, System.Func<T2,TKey> keySelector, System.Func<T,T2,TResult> resultSelector, JoinOperator op )
Parameters
- source
- The second sequence to join to this collection.
- keySelector
- A function to extract from a second sequence's item the value to match against this collection's key value.
- resultSelector
- A function to create a result element from two matching elements.
- op
- A comparison operator to match elements.
Type Parameters
- T2
- The type of the elements of the second sequence.
- TResult
- The type of the result elements.
Return Value
Enumeration of objects obtained by applying the result selector to pairs of joined elements of the two collections.