Observable.Count<TSource> Method
Returns a Int32 that represents the total number of elements in an observable sequence.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
Type Parameters
- TSource
The type of source.
Parameters
- source
- Type: System.IObservable<TSource>
An observable sequence that contains elements to be counted.
Return Value
Type: System.IObservable<Int32>A Int32 that represents the total number of elements in an observable sequence.