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

Asynchronously writes a character memory region to the text stream.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public override Task WriteAsync(
	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.

См. также