AsyncEnumerableSumTSource Method (IAsyncEnumerableTSource, FuncTSource, Decimal, CancellationToken) |
Namespace: System.Linq
public static Task<decimal> Sum<TSource>( this IAsyncEnumerable<TSource> source, Func<TSource, decimal> selector, CancellationToken cancellationToken )