Show / Hide Table of Contents

    Class Comparer

    Represents the comparer.

    Inheritance
    Object
    Comparer
    Implements
    IComparer
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Comparers
    Assembly: Platform.Comparers.dll
    Syntax
    public class Comparer : IComparer

    Constructors

    | Improve this Doc View Source

    Comparer(IComparer)

    Initializes a new Comparer instance.

    Declaration
    public Comparer(IComparer comparer)
    Parameters
    Type Name Description
    IComparer comparer

    A comparer.

    | Improve this Doc View Source

    Comparer(Func<Object, Object, Int32>)

    Initializes a new Comparer instance.

    Declaration
    public Comparer(Func<object, object, int> compare)
    Parameters
    Type Name Description
    Func<Object, Object, Int32> compare

    A compare.

    Methods

    | Improve this Doc View Source

    Compare(Object, Object)

    Compares the x.

    Declaration
    public int Compare(object x, object y)
    Parameters
    Type Name Description
    Object x

    The .

    Object y

    The .

    Returns
    Type Description
    Int32

    The int

    Operators

    | Improve this Doc View Source

    Implicit(Comparer to Func<Object, Object, Int32>)

    Declaration
    public static implicit operator Func<object, object, int>(Comparer comparer)
    Parameters
    Type Name Description
    Comparer comparer
    Returns
    Type Description
    Func<Object, Object, Int32>
    | Improve this Doc View Source

    Implicit(Func<Object, Object, Int32> to Comparer)

    Declaration
    public static implicit operator Comparer(Func<object, object, int> compare)
    Parameters
    Type Name Description
    Func<Object, Object, Int32> compare
    Returns
    Type Description
    Comparer

    Implements

    System.Collections.IComparer

    See Also

    IComparer
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX