Class ReadLine
Represents an operator that reads lines of characters asynchronously from the input stream.
public class ReadLine : Source<string>
- Inheritance
-
ReadLine
- Inherited Members
Methods
Generate()
Reads lines of characters asynchronously from the standard input stream.
public override IObservable<string> Generate()
Returns
- IObservable<string>
A sequence of string values representing each of the lines read from the standard input stream, or null if all of the characters have been read.
Generate(IObservable<TextReader>)
Reads lines of characters asynchronously from a TextReader object.
public IObservable<string> Generate(IObservable<TextReader> source)
Parameters
source
IObservable<TextReader>A sequence of TextReader objects from which to read lines.
Returns
- IObservable<string>
A sequence of string values representing the lines read from each of the TextReader objects in the original sequence, or null if all of the characters have been read.