Observable.Average Method (IObservable<Nullable<Int32>>)

March 22, 2012

Computes the average of an observable sequence of values.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<Nullable<double>> Average(
	this IObservable<Nullable<int>> source


Type: System.IObservable<Nullable<Int32>>

Return Value

Type: System.IObservable<Nullable<Double>>
Returns IObservable<T>.

Usage Note

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

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone