Utility to build an IComparer implementation from a Comparison delegate, and a static method to do the reverse.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public sealed class ComparisonComparer<T> : IComparer<T>
Visual Basic
Public NotInheritable Class ComparisonComparer(Of T)
	Implements IComparer(Of T)
Visual C++
generic<typename T>
public ref class ComparisonComparer sealed : IComparer<T>
F#
[<SealedAttribute>]
type ComparisonComparer<'T> =  
    class
        interface IComparer<'T>
    end

Type Parameters

T

Inheritance Hierarchy

System..::..Object
  MonoSoftware.Core.Collections..::..ComparisonComparer<(Of <(<'T>)>)>

See Also