Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Add()

bool System.Linq.Parallel.HashLookupValueList< TElement, TOrderKey >.Add ( TElement value,
TOrderKey orderKey )
inlinepackage

Definition at line 19 of file HashLookupValueList.cs.

20 {
21 bool flag = _tail == null;
22 if (flag)
23 {
24 _tail = new ListChunk<Pair<TElement, TOrderKey>>(2);
25 }
26 _tail.Add(CreatePair(value, orderKey));
27 return flag;
28 }
static Pair< TElement, TOrderKey > CreatePair(TElement value, TOrderKey orderKey)
ListChunk< Pair< TElement, TOrderKey > > _tail

References System.Linq.Parallel.HashLookupValueList< TElement, TOrderKey >._tail, System.Linq.Parallel.ListChunk< TInputOutput >.Add(), System.Linq.Parallel.HashLookupValueList< TElement, TOrderKey >.CreatePair(), and System.value.