Method Process
Process<TSource>(IObservable<TSource>)
Writes the text representation of each element of an observable sequence to the standard output stream, followed by a line terminator.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
sourceIObservable<TSource>The sequence containing the elements to write to the standard output stream.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of writing the elements to the standard output stream.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.
Process<TSource>(IObservable<TSource>, IObservable<TextWriter>)
Writes the text representation of each element of an observable sequence to all the specified output streams, followed by a line terminator.
public IObservable<TSource> Process<TSource>(IObservable<TSource> source, IObservable<TextWriter> writer)
Parameters
sourceIObservable<TSource>The sequence containing the elements to write to the active output streams.
writerIObservable<TextWriter>A sequence of TextWriter objects on which to write the text representation of the elements of the
sourcesequence.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of writing the elements to all active output streams.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.