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

Public Member Functions

TElement[] ToArray ()
 
List< TElement > ToList ()
 
int GetCount (bool onlyIfCheap)
 
IPartition< TElement > Skip (int count)
 
IPartition< TElement > Take (int count)
 
TElement TryGetElementAt (int index, out bool found)
 
TElement TryGetFirst (out bool found)
 
TElement TryGetLast (out bool found)
 
TElement TryGetLast (int minIdx, int maxIdx, out bool found)
 
IEnumerator< TElement > GetEnumerator ()
 
TElement TryGetLast (Func< TElement, bool > predicate, out bool found)
 
IOrderedEnumerable< TElement > CreateOrderedEnumerable< TKey > (Func< TElement, TKey > keySelector, IComparer< TKey >? comparer, bool descending)
 

Protected Member Functions

 OrderedEnumerable (IEnumerable< TElement > source)
 

Package Functions

TElement[] ToArray (int minIdx, int maxIdx)
 
List< TElement > ToList (int minIdx, int maxIdx)
 
int GetCount (int minIdx, int maxIdx, bool onlyIfCheap)
 
IEnumerator< TElement > GetEnumerator (int minIdx, int maxIdx)
 
EnumerableSorter< TElement > GetEnumerableSorter (EnumerableSorter< TElement > next)
 
CachingComparer< TElement > GetComparer (CachingComparer< TElement > childComparer)
 
 OrderedEnumerable (IEnumerable< TElement > source, Func< TElement, TKey > keySelector, IComparer< TKey > comparer, bool descending, OrderedEnumerable< TElement > parent)
 
override EnumerableSorter< TElement > GetEnumerableSorter (EnumerableSorter< TElement > next)
 
override CachingComparer< TElement > GetComparer (CachingComparer< TElement > childComparer)
 

Package Attributes

IEnumerable< TElement > _source
 

Private Member Functions

TElement Last (Buffer< TElement > buffer)
 
int[] SortedMap (Buffer< TElement > buffer)
 
int[] SortedMap (Buffer< TElement > buffer, int minIdx, int maxIdx)
 
EnumerableSorter< TElement > GetEnumerableSorter ()
 
CachingComparer< TElement > GetComparer ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
IOrderedEnumerable< TElement > IOrderedEnumerable< TElement >. CreateOrderedEnumerable< TKey > (Func< TElement, TKey > keySelector, IComparer< TKey > comparer, bool descending)
 

Private Attributes

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

Detailed Description

Definition at line 340 of file OrderedEnumerable.cs.


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