Sum Method (IObservable(Single))

Observable.Sum Method (IObservable(Single))

Computes the sum of a sequence of Float values.

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

public static function Sum(
	source : IObservable<float>
) : IObservable<float>

Parameters

source
Type: System.IObservable(Single)
A sequence of Float values to calculate the sum of

Return Value

Type: System.IObservable(Single)
The sum of a 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 IObservable(Single). When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936.aspx or https://msdn.microsoft.com/en-us/library/bb383977.aspx.
Show:
© 2016 Microsoft