Class ComparableUtil
- Namespace
- ReFuel.Collections
- Assembly
- ReFuel.Common.dll
Utilities for comparer functions.
public static class ComparableUtil
- Inheritance
-
ComparableUtil
- Inherited Members
Properties
BaseTypeComparer
A utility object for comparing base types.
public static ComparableUtil.BaseTypeComparerType BaseTypeComparer { get; }
Property Value
Methods
CreateComparer<T>()
Create a comparer for IComparable types.
public static IComparer<T> CreateComparer<T>() where T : IComparable<T>
Returns
- IComparer<T>
A comparer.
Type Parameters
T
The type.