Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Linq.CachingComparer< TElement, TKey > Class Template Reference

Public Member Functions

 CachingComparer (Func< TElement, TKey > keySelector, IComparer< TKey > comparer, bool descending)
 

Protected Attributes

readonly Func< TElement, TKey > _keySelector
 
readonly IComparer< TKey > _comparer
 
readonly bool _descending
 
TKey _lastKey
 

Package Functions

int Compare (TElement element, bool cacheLower)
 
void SetElement (TElement element)
 
override int Compare (TElement element, bool cacheLower)
 
override void SetElement (TElement element)
 

Detailed Description

Definition at line 11 of file CachingComparer.cs.


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