SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method LeftJoin

    LeftJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner?, TResult>)

    Performs a left outer join on two sequences.

    Declaration
    public static IEnumerable<TResult> LeftJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner?, TResult> resultSelector)
    Parameters
    Type Name Description
    IEnumerable<TOuter> outer

    The first sequence to join.

    IEnumerable<TInner> inner

    The sequence to join to the first sequence.

    Func<TOuter, TKey> outerKeySelector

    A function to extract the join key from each element of the first sequence.

    Func<TInner, TKey> innerKeySelector

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

    Func<TOuter, TInner, TResult> resultSelector

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

    Returns
    Type Description
    IEnumerable<TResult>

    A sequence containing the result of a left outer join.

    Type Parameters
    Name Description
    TOuter

    The type of the elements of the first sequence.

    TInner

    The type of the elements of the second sequence.

    TKey

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

    TResult

    The type of the result elements.

    Remarks

    This polyfill specifically is a proxy for LeftOuterHashJoin<TLeft, TRight, TKey, TResult>(IEnumerable<TLeft>, IEnumerable<TRight>, Func<TLeft, TKey>, Func<TRight, TKey>, Func<TLeft, TResult>, Func<TLeft, TRight, TResult>, IEqualityComparer<TKey>?)

    LeftJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner?, TResult>, IEqualityComparer<TKey>?)

    Performs a left outer join on two sequences using a specified key comparer.

    Declaration
    public static IEnumerable<TResult> LeftJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner?, TResult> resultSelector, IEqualityComparer<TKey>? comparer)
    Parameters
    Type Name Description
    IEnumerable<TOuter> outer

    The first sequence to join.

    IEnumerable<TInner> inner

    The sequence to join to the first sequence.

    Func<TOuter, TKey> outerKeySelector

    A function to extract the join key from each element of the first sequence.

    Func<TInner, TKey> innerKeySelector

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

    Func<TOuter, TInner, TResult> resultSelector

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

    IEqualityComparer<TKey> comparer

    An equality comparer to compare keys.

    Returns
    Type Description
    IEnumerable<TResult>

    A sequence containing the result of a left outer join.

    Type Parameters
    Name Description
    TOuter

    The type of the elements of the first sequence.

    TInner

    The type of the elements of the second sequence.

    TKey

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

    TResult

    The type of the result elements.

    Remarks

    This polyfill specifically is a proxy for LeftOuterHashJoin<TLeft, TRight, TKey, TResult>(IEnumerable<TLeft>, IEnumerable<TRight>, Func<TLeft, TKey>, Func<TRight, TKey>, Func<TLeft, TResult>, Func<TLeft, TRight, TResult>, IEqualityComparer<TKey>?)

    © SuperLinq Authors. All rights reserved.