IndentedTextWriterWriteLineAsync(ReadOnlyMemoryChar, CancellationToken) - метод

Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 4.0.5
C#
public override Task WriteLineAsync(
	ReadOnlyMemory<char> buffer,
	CancellationToken cancellationToken = default
)

Параметры

buffer  ReadOnlyMemoryChar
The character memory region to write to the text stream.
cancellationToken  CancellationToken  (Optional)
The token to monitor for cancellation requests. The default value is None.

Возвращаемое значение

Task
A task that represents the asynchronous write operation.

См. также