Version 3.3.1.2

DictionaryKeyUtility.KeyComparer<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class KeyComparer<T> : IComparer<T>
A smart comparer for dictionary keys, that uses the most appropriate available comparison method for the given key types.
Inheritance
  • System.Object
  • DictionaryKeyUtility.KeyComparer<T>

Type Parameters

T

Constructors

KeyComparer()
public KeyComparer()

Fields

Default
public static readonly DictionaryKeyUtility.KeyComparer<T> Default

Methods

Compare(T, T)
Not yet documented.
public int Compare(T x, T y)
Parameters
T x

Not yet documented.

T y

Not yet documented.

Returns
System.Int32

Not yet documented.