NanoByte.Common  2.10.5
NanoByte.Common.Collections.DefaultComparer< T > Class Template Reference

Compares objects using their IComparable implementation. More...

Inheritance diagram for NanoByte.Common.Collections.DefaultComparer< T >:

Public Member Functions

int Compare (T? x, T? y)
 

Static Public Attributes

static readonly DefaultComparer< T > Instance = new()
 A singleton instance of the comparer. More...
 

Detailed Description

Compares objects using their IComparable implementation.

Type Constraints
T :IComparable<T> 

Member Data Documentation

◆ Instance

readonly DefaultComparer<T> NanoByte.Common.Collections.DefaultComparer< T >.Instance = new()
static

A singleton instance of the comparer.


The documentation for this class was generated from the following file: