public final class Aggregate
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <TSource> TSource |
aggregate(IEnumerable<TSource> source,
Func2<TSource,TSource,TSource> func) |
static <TSource,TAccumulate> |
aggregate(IEnumerable<TSource> source,
TAccumulate seed,
Func2<TAccumulate,TSource,TAccumulate> func) |
static <TSource,TAccumulate,TResult> |
aggregate(IEnumerable<TSource> source,
TAccumulate seed,
Func2<TAccumulate,TSource,TAccumulate> func,
Func1<TAccumulate,TResult> resultSelector) |
public static <TSource> TSource aggregate(IEnumerable<TSource> source, Func2<TSource,TSource,TSource> func)
public static <TSource,TAccumulate> TAccumulate aggregate(IEnumerable<TSource> source, TAccumulate seed, Func2<TAccumulate,TSource,TAccumulate> func)
public static <TSource,TAccumulate,TResult> TResult aggregate(IEnumerable<TSource> source, TAccumulate seed, Func2<TAccumulate,TSource,TAccumulate> func, Func1<TAccumulate,TResult> resultSelector)
Copyright © 2019. All Rights Reserved.