Interactive Extensions
Interactive Extensions
Ix-Main Namespaces
System.Linq
AsyncEnumerable Class
AsyncEnumerable Methods
Average Method
Average Method (IAsyncEnumerable(Decimal))
Average Method (IAsyncEnumerable(Double))
Average Method (IAsyncEnumerable(Int32))
Average Method (IAsyncEnumerable(Int64))
Average Method (IAsyncEnumerable(Nullable(Decimal)))
Average Method (IAsyncEnumerable(Nullable(Double)))
Average Method (IAsyncEnumerable(Nullable(Int32)))
Average Method (IAsyncEnumerable(Nullable(Int64)))
Average Method (IAsyncEnumerable(Nullable(Single)))
Average Method (IAsyncEnumerable(Single))
Average Method (IAsyncEnumerable(Decimal), CancellationToken)
Average Method (IAsyncEnumerable(Double), CancellationToken)
Average Method (IAsyncEnumerable(Int32), CancellationToken)
Average Method (IAsyncEnumerable(Int64), CancellationToken)
Average Method (IAsyncEnumerable(Nullable(Decimal)), CancellationToken)
Average Method (IAsyncEnumerable(Nullable(Double)), CancellationToken)
Average Method (IAsyncEnumerable(Nullable(Int32)), CancellationToken)
Average Method (IAsyncEnumerable(Nullable(Int64)), CancellationToken)
Average Method (IAsyncEnumerable(Nullable(Single)), CancellationToken)
Average Method (IAsyncEnumerable(Single), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Decimal))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Double))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Int32))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Int64))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Decimal)))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Double)))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Int32)))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Int64)))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Single)))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Single))
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Decimal), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Double), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Int32), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Int64), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Decimal)), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Double)), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Int32)), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Int64)), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Nullable(Single)), CancellationToken)
Average(TSource) Method (IAsyncEnumerable(TSource), Func(TSource, Single), CancellationToken)
AsyncEnumerable
Average Method (IAsyncEnumerable
Nullable
Int32
)
Namespace:
System.Linq
Assembly:
System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntax
C#
Copy
public
static
Task
<
Nullable
<
double
>>
Average
(
this
IAsyncEnumerable
<
Nullable
<
int
>>
source
)
Parameters
source
Type:
System.Collections.Generic
IAsyncEnumerable
Nullable
Int32
Return Value
Type:
Task
Nullable
Double
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncEnumerable
Nullable
Int32
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
AsyncEnumerable Class
Average Overload
System.Linq Namespace