Share via


Observable.Do Method

Include Protected Members
Include Inherited Members

Invokes an action for each element in the 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

  Name Description
Public methodStatic member Do<TSource>(IObservable<TSource>, Action<TSource>) Invokes an action for each element in the observable sequence.
Public methodStatic member Do<TSource>(IObservable<TSource>, IObserver<TSource>) Invokes an action for each element in the observable sequence and invokes an action upon exceptional termination of the observable sequence.
Public methodStatic member Do<TSource>(IObservable<TSource>, Action<TSource>, Action) Invokes an action for each element in the observable sequence and invokes an action upon graceful termination of the observable sequence.
Public methodStatic member Do<TSource>(IObservable<TSource>, Action<TSource>, Action<Exception>) Invokes an action for each element in the observable sequence and invokes an action upon exceptional termination of the observable sequence.
Public methodStatic member Do<TSource>(IObservable<TSource>, Action<TSource>, Action<Exception>, Action) Invokes an action for each element in the observable sequence, and invokes an action upon graceful or exceptional termination of the observable sequence.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace