Method AggregateAsync
AggregateAsync<TSource, TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, Task<TAccumulate>>)
Declaration
public static Task<TAccumulate> AggregateAsync<TSource, TAccumulate>(this IEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, Task<TAccumulate>> func)
Parameters
Type |
Name |
Description |
IEnumerable<TSource> |
source |
|
TAccumulate |
seed |
|
Func<TAccumulate, TSource, Task<TAccumulate>> |
func |
|
Returns
Type |
Description |
Task<TAccumulate> |
|
Type Parameters
Name |
Description |
TSource |
|
TAccumulate |
|