Skip to content

BlockingLineReader ​

A System.IO.TextReader that reads lines from a blocking collection.

Kind: Class

Namespace: ConnectorLib.LogReader

Inheritance: TextReader → IDisposable

Public Constructors

BlockingLineReader()

Initializes a new instance of the ConnectorLib.LogReader.BlockingLineReader class.

BlockingLineReader(CancellationToken cancellationToken)

Initializes a new instance of the ConnectorLib.LogReader.BlockingLineReader class.

Public Member Functions

virtual override

int

Peek()

Peeks at the next character in the stream without reading it (not supported).

virtual override

int

Read()

Reads the next character in the stream (not supported).

virtual override

string

ReadLine()

Reads a line from the stream.

virtual override

void

Close()