Observable.Sum Method (IObservable<Decimal>)

March 22, 2012

Computes the sum of a sequence of System.Decimal values.

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

public static IObservable<decimal> Sum(
	this IObservable<decimal> source


Type: System.IObservable<Decimal>

Return Value

Type: System.IObservable<Decimal>
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<Decimal>. 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