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

◆ Reduce()

static T System.Linq.AggregationMinMaxHelpers< T >.Reduce ( IEnumerable< T > source,
int sign )
inlinestaticprivate

Definition at line 8 of file AggregationMinMaxHelpers.cs.

9 {
14 return associativeAggregationOperator.Aggregate();
15 }
static Func< Pair< bool, T >, T, Pair< bool, T > > MakeIntermediateReduceFunction(int sign)
static Func< Pair< bool, T >, Pair< bool, T >, Pair< bool, T > > MakeFinalReduceFunction(int sign)
static Func< Pair< bool, T >, T > MakeResultSelectorFunction()

References System.Linq.first, System.Linq.AggregationMinMaxHelpers< T >.MakeFinalReduceFunction(), System.Linq.AggregationMinMaxHelpers< T >.MakeIntermediateReduceFunction(), System.Linq.AggregationMinMaxHelpers< T >.MakeResultSelectorFunction(), System.Linq.resultSelector, System.Linq.source, and System.T.

Referenced by System.Linq.AggregationMinMaxHelpers< T >.ReduceMax(), and System.Linq.AggregationMinMaxHelpers< T >.ReduceMin().