Qbservable

Qbservable.Average Method (IQbservable<Nullable<Single>>)

Computes the average of a queryable observable sequence of nullable Float values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Nullable(Of Single)) _
) As IQbservable(Of Nullable(Of Single))
'Usage
Dim source As IQbservable(Of Nullable(Of Single))
Dim returnValue As IQbservable(Of Nullable(Of Single))

returnValue = source.Average()
public static IQbservable<Nullable<float>> Average(
    this IQbservable<Nullable<float>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<float>>^ Average(
    IQbservable<Nullable<float>>^ source
)
static member Average : 
        source:IQbservable<Nullable<float32>> -> IQbservable<Nullable<float32>> 
public static function Average(
    source : IQbservable<Nullable<float>>
) : IQbservable<Nullable<float>>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Single>>
The average of a queryable observable sequence of nullable Float values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Single>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Nullable<Int32>>)

Computes the average of a queryable observable sequence of nullable Int32 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Nullable(Of Integer)) _
) As IQbservable(Of Nullable(Of Double))
'Usage
Dim source As IQbservable(Of Nullable(Of Integer))
Dim returnValue As IQbservable(Of Nullable(Of Double))

returnValue = source.Average()
public static IQbservable<Nullable<double>> Average(
    this IQbservable<Nullable<int>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<double>>^ Average(
    IQbservable<Nullable<int>>^ source
)
static member Average : 
        source:IQbservable<Nullable<int>> -> IQbservable<Nullable<float>> 
public static function Average(
    source : IQbservable<Nullable<int>>
) : IQbservable<Nullable<double>>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Double>>
The average of a queryable observable sequence of nullable Int32 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Int32>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Nullable<Decimal>>)

Computes the average of a queryable observable sequence of nullable Decimal values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Nullable(Of Decimal)) _
) As IQbservable(Of Nullable(Of Decimal))
'Usage
Dim source As IQbservable(Of Nullable(Of Decimal))
Dim returnValue As IQbservable(Of Nullable(Of Decimal))

returnValue = source.Average()
public static IQbservable<Nullable<decimal>> Average(
    this IQbservable<Nullable<decimal>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<Decimal>>^ Average(
    IQbservable<Nullable<Decimal>>^ source
)
static member Average : 
        source:IQbservable<Nullable<decimal>> -> IQbservable<Nullable<decimal>> 
public static function Average(
    source : IQbservable<Nullable<decimal>>
) : IQbservable<Nullable<decimal>>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Decimal>>
The average of a queryable observable sequence of nullable Decimal values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Decimal>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Decimal>)

Computes the average of a queryable observable sequence of Decimal values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Decimal) _
) As IQbservable(Of Decimal)
'Usage
Dim source As IQbservable(Of Decimal)
Dim returnValue As IQbservable(Of Decimal)

returnValue = source.Average()
public static IQbservable<decimal> Average(
    this IQbservable<decimal> source
)
[ExtensionAttribute]
public:
static IQbservable<Decimal>^ Average(
    IQbservable<Decimal>^ source
)
static member Average : 
        source:IQbservable<decimal> -> IQbservable<decimal> 
public static function Average(
    source : IQbservable<decimal>
) : IQbservable<decimal>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Decimal>
The average of a queryable observable sequence of Decimal values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Decimal>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method

Include Protected Members
Include Inherited Members

Computes the average of a queryable observable sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

NameDescriptionPublic methodStatic memberAverage(IQbservable)Computes the average of a queryable observable sequence of Decimal values.Public methodStatic memberAverage(IQbservable)Computes the average of a queryable observable sequence of Double values.Public methodStatic memberAverage(IQbservable)Computes the average of a queryable observable sequence of Int32 values.Public methodStatic memberAverage(IQbservable)Computes the average of a queryable observable sequence of Int64 values.Public methodStatic memberAverage(IQbservable<Nullable>)Computes the average of a queryable observable sequence of nullable Decimal values.Public methodStatic memberAverage(IQbservable<Nullable>)Computes the average of a queryable observable sequence of nullable Double values.Public methodStatic memberAverage(IQbservable<Nullable>)Computes the average of a queryable observable sequence of nullable Int32 values.Public methodStatic memberAverage(IQbservable<Nullable>)Computes the average of a queryable observable sequence of nullable Int64 values.Public methodStatic memberAverage(IQbservable<Nullable>)Computes the average of a queryable observable sequence of nullable Float values.Public methodStatic memberAverage(IQbservable)Computes the average of a queryable observable sequence of Float values.Top

See Also

Reference

Qbservable Class

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Nullable<Int64>>)

Computes the average of a queryable observable sequence of nullable Int64 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Nullable(Of Long)) _
) As IQbservable(Of Nullable(Of Double))
'Usage
Dim source As IQbservable(Of Nullable(Of Long))
Dim returnValue As IQbservable(Of Nullable(Of Double))

returnValue = source.Average()
public static IQbservable<Nullable<double>> Average(
    this IQbservable<Nullable<long>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<double>>^ Average(
    IQbservable<Nullable<long long>>^ source
)
static member Average : 
        source:IQbservable<Nullable<int64>> -> IQbservable<Nullable<float>> 
public static function Average(
    source : IQbservable<Nullable<long>>
) : IQbservable<Nullable<double>>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Double>>
The average of a queryable observable sequence of nullable Int64 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Int64>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Nullable<Double>>)

Computes the average of a queryable observable sequence of nullable Double values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Nullable(Of Double)) _
) As IQbservable(Of Nullable(Of Double))
'Usage
Dim source As IQbservable(Of Nullable(Of Double))
Dim returnValue As IQbservable(Of Nullable(Of Double))

returnValue = source.Average()
public static IQbservable<Nullable<double>> Average(
    this IQbservable<Nullable<double>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<double>>^ Average(
    IQbservable<Nullable<double>>^ source
)
static member Average : 
        source:IQbservable<Nullable<float>> -> IQbservable<Nullable<float>> 
public static function Average(
    source : IQbservable<Nullable<double>>
) : IQbservable<Nullable<double>>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Double>>
The average of a queryable observable sequence of nullable Double values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Double>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Int32>)

Computes the average of a queryable observable sequence of Int32 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Integer) _
) As IQbservable(Of Double)
'Usage
Dim source As IQbservable(Of Integer)
Dim returnValue As IQbservable(Of Double)

returnValue = source.Average()
public static IQbservable<double> Average(
    this IQbservable<int> source
)
[ExtensionAttribute]
public:
static IQbservable<double>^ Average(
    IQbservable<int>^ source
)
static member Average : 
        source:IQbservable<int> -> IQbservable<float> 
public static function Average(
    source : IQbservable<int>
) : IQbservable<double>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Double>
The average of a queryable observable sequence of Int32 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Int32>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Double>)

Computes the average of a queryable observable sequence of Double values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Double) _
) As IQbservable(Of Double)
'Usage
Dim source As IQbservable(Of Double)
Dim returnValue As IQbservable(Of Double)

returnValue = source.Average()
public static IQbservable<double> Average(
    this IQbservable<double> source
)
[ExtensionAttribute]
public:
static IQbservable<double>^ Average(
    IQbservable<double>^ source
)
static member Average : 
        source:IQbservable<float> -> IQbservable<float> 
public static function Average(
    source : IQbservable<double>
) : IQbservable<double>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Double>
The average of a queryable observable sequence of Double values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Single>)

Computes the average of a queryable observable sequence of Float values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Single) _
) As IQbservable(Of Single)
'Usage
Dim source As IQbservable(Of Single)
Dim returnValue As IQbservable(Of Single)

returnValue = source.Average()
public static IQbservable<float> Average(
    this IQbservable<float> source
)
[ExtensionAttribute]
public:
static IQbservable<float>^ Average(
    IQbservable<float>^ source
)
static member Average : 
        source:IQbservable<float32> -> IQbservable<float32> 
public static function Average(
    source : IQbservable<float>
) : IQbservable<float>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Single>
The average of a queryable observable sequence of Float values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Single>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace

Qbservable.Average Method (IQbservable<Int64>)

Computes the average of a queryable observable sequence of Int64 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Average ( _
    source As IQbservable(Of Long) _
) As IQbservable(Of Double)
'Usage
Dim source As IQbservable(Of Long)
Dim returnValue As IQbservable(Of Double)

returnValue = source.Average()
public static IQbservable<double> Average(
    this IQbservable<long> source
)
[ExtensionAttribute]
public:
static IQbservable<double>^ Average(
    IQbservable<long long>^ source
)
static member Average : 
        source:IQbservable<int64> -> IQbservable<float> 
public static function Average(
    source : IQbservable<long>
) : IQbservable<double>

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Double>
The average of a queryable observable sequence of Int64 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Int64>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Average Overload

System.Reactive.Linq Namespace