Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to TextWriter.
Namespace: DotNext.IO Assembly: DotNext.dll Syntaxpublic readonly record struct TextConsumer : IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<char>, CancellationToken, ValueTask>>, IFlushable, IEquatable<TextConsumer>
Constructors | Edit this page View Source TextConsumer(TextWriter)
Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to TextWriter.
Declarationpublic TextConsumer(TextWriter output)
Parameters Type Name Description TextWriter output
The text writer.
Properties | Edit this page View Source IsEmptyGets a value indicating that the underlying text writer is null.
Declarationpublic bool IsEmpty { get; }
Property Value Methods | Edit this page View Source ToString()
Returns a string that represents the underlying writer.
Declarationpublic override string? ToString()
Returns Type Description string
A string that represents the underlying writer.
Overrides Operators | Edit this page View Source implicit operator TextConsumer(TextWriter)Wraps the text writer.
Declarationpublic static implicit operator TextConsumer(TextWriter output)
Parameters Type Name Description TextWriter output
The text writer.
Returns Exceptions Implements Extension MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4