Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
Smooth.Comparisons.FuncComparer< T > Class Template Reference

Performs type-specific comparisons using the comparison delegate supplied to the constructor. More...

Inheritance diagram for Smooth.Comparisons.FuncComparer< T >:
Smooth.Collections.Comparer< T >

Public Member Functions

override int Compare (T t1, T t2)
 
 FuncComparer (Comparison< T > comparison)
 Instantiate a comparer for type T using the specified comparison More...
 
 FuncComparer (IComparer< T > comparer)
 

Additional Inherited Members

- Properties inherited from Smooth.Collections.Comparer< T >
static IComparer< T > Default [get, set]
 

Detailed Description

Performs type-specific comparisons using the comparison delegate supplied to the constructor.

Constructor & Destructor Documentation

Smooth.Comparisons.FuncComparer< T >.FuncComparer ( Comparison< T >  comparison)
inline

Instantiate a comparer for type T using the specified comparison

Smooth.Comparisons.FuncComparer< T >.FuncComparer ( IComparer< T >  comparer)
inline

Member Function Documentation

override int Smooth.Comparisons.FuncComparer< T >.Compare ( t1,
t2 
)
inlinevirtual

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