A 2-tuple comparer assuming that the first entry acts as a comparable key.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Type Parameters:
TKey
The type of the key.
TValue
The type of the value.
Syntax:
C#
public class MupleComparer<TKey, TValue> : IComparer<Muple<TKey, TValue>> where TKey : IComparable
Inheritance: objectMupleComparer<TKey, TValue>
Implements:
Constructors
Initializes a new instance of the MupleComparer<TKey, TValue> class.
C#
public MupleComparer()
Initializes a new instance of the MupleComparer<TKey, TValue> class.
Properties
DefaultComparer
MupleComparer<TKey, TValue>
Gets the default comparer for the type of association specified.
C#
public static MupleComparer<TKey, TValue> DefaultComparer { get; }
The default comparer.
Methods
Compares the two values.