SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method Create

    Create<T1, T2>(IComparer<T1>?, IComparer<T2>?)

    Creates a custom IComparer<T> for a (T1, T2) based on custom comparers for each component.

    Declaration
    public static IComparer<(T1, T2)> Create<T1, T2>(IComparer<T1>? comparer1, IComparer<T2>? comparer2)
    Parameters
    Type Name Description
    IComparer<T1> comparer1

    The custom comparer for T1. If null, then Default will be used.

    IComparer<T2> comparer2

    The custom comparer for T2. If null, then Default will be used.

    Returns
    Type Description
    IComparer<(T1, T2)>

    An IComparer<T> that can be used to compare two (T1, T2) using the provided comparers for each component.

    Type Parameters
    Name Description
    T1

    The type of the first element of the (T1, T2)

    T2

    The type of the second element of the (T1, T2)

    © SuperLinq Authors. All rights reserved.