日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class ComparerExtensions

    Extension methods for .Net Comparer's

    Inheritance
    Object
    ComparerExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public static class ComparerExtensions

    Methods

    GetReversed<TElement>(IComparer<TElement>)

    Gets a comparer that sorts elements in the opposite order of the original comparer.

    Declaration
    public static IComparer<TElement> GetReversed<TElement>(this IComparer<TElement> originalComparer)
    Parameters
    Type Name Description
    IComparer<TElement> originalComparer

    The comparer whose order should be reversed.

    Returns
    Type Description
    IComparer<TElement>

    A comparer that sorts elements in the opposite order of originalComparer.

    Type Parameters
    Name Description
    TElement

    The type of element the comparer compares.

    Back to top Generated by DocFX