LineWrappingTextWriterForStandardStream Method

Gets a LineWrappingTextWriter that writes to the specified standard stream.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public static LineWrappingTextWriter ForStandardStream(
	StandardStream stream
)

Parameters

stream  StandardStream
The StandardStream to write to.

Return Value

LineWrappingTextWriter
A LineWrappingTextWriter that writes to either ConsoleOut or ConsoleError.

Exceptions

See Also