Class GenericComparer<T>
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Generic helper used to provide IComparer<T> on supported types.
public static class GenericComparer<T>
Type Parameters
T
If the type is supported, this will be either Instance or Default
If the type is unsupported, throws TypeInitializationException Supported Types :
- All primitive types
- Types comparable via Instance
- Types that implement IComparable<T>
- Inheritance
-
GenericComparer<T>
- Inherited Members
Fields
Default
An appropriate IComparer<T> for this type.
public static readonly IComparer<T> Default
Field Value
- IComparer<T>
Remarks
If the type is supported, this will be either Instance or Default
If the type is unsupported, throws TypeInitializationException
- All primitive types
- Types comparable via Instance
- Types that implement IComparable<T>