LineWrappingTextWriterWriteLineAsync(String) Method

Asynchronously writes a string to the text stream, followed by a line terminator.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public override Task WriteLineAsync(
	string? value
)

Parameters

value  String
The string to write. If the value is , only a line terminator is written.

Return Value

Task
A task that represents the asynchronous write operation.

Exceptions

ObjectDisposedExceptionThe text writer is disposed.
InvalidOperationExceptionThe text writer is currently in use by a previous write operation.

See Also