SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method FullJoin

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

    Performs a full outer join on two sequences.

    Declaration
    public static IEnumerable<(TOuter? Outer, TInner? Inner)> FullJoin<TOuter, TInner, TKey>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, IEqualityComparer<TKey>? comparer = null)
    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.

    IEqualityComparer<TKey> comparer

    An equality comparer to compare keys.

    Returns
    Type Description
    IEnumerable<(TOuter Outer, TInner Inner)>

    A sequence containing the pairs produced by a full 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.

    Remarks

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

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

    Performs a full outer join on two sequences.

    Declaration
    public static IEnumerable<TResult> FullJoin<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 = null)
    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 full 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 FullOuterHashJoin<TLeft, TRight, TKey, TResult>(IEnumerable<TLeft>, IEnumerable<TRight>, Func<TLeft, TKey>, Func<TRight, TKey>, Func<TLeft, TResult>, Func<TRight, TResult>, Func<TLeft, TRight, TResult>, IEqualityComparer<TKey>?)

    © SuperLinq Authors. All rights reserved.