[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.View-1.Join

Join Method

Join<TInner, TKey, TResult>(IObservableSource<TInner>, Expression<Func<T, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<T, TInner, TResult>>)

Correlates the elements of two views based on matching keys.

Declaration
public View<TResult> Join<TInner, TKey, TResult>(IObservableSource<TInner> inner, Expression<Func<T, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<T, TInner, TResult>> resultSelector)
Parameters
Type Name Description
IObservableSource<TInner> inner

The collection (usually, a view) to join to this view.

Expression<Func<T, TKey>> outerKeySelector

A function to extract the join key from each element of this view.

Expression<Func<TInner, TKey>> innerKeySelector

A function to extract the join key from each element of the second view.

Expression<Func<T, TInner, TResult>> resultSelector

A function to create a result element from two matching elements.

Returns
Type Description
View<TResult>

A view containing elements of type TResult that are obtained by performing an inner join on two views.

Type Parameters
Name Description
TInner

The type of the elements of the view to join with this view.

TKey

The type of the keys returned by the key selector functions.

TResult

The type of the result elements.