Click or drag to resize
DigitalRuneDelegateComparerT Class
Compares two items using a user-defined ComparisonT delegate. (Note: In .NET 4.5 or higher use Comparer<T>.Create() instead of this class.)
Inheritance Hierarchy
SystemObject
  DigitalRune.CollectionsDelegateComparerT

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public sealed class DelegateComparer<T> : IComparer<T>

Type Parameters

T
The type of objects to compare

The DelegateComparerT type exposes the following members.

Constructors
  NameDescription
Public methodDelegateComparerT
Initializes a new instance of the DelegateComparerT class.
Top
Methods
  NameDescription
Public methodCompare
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also