Class CTerminalTextWriter
- Namespace
- ReFuel.CVarScript
- Assembly
- ReFuel.dll
public class CTerminalTextWriter : TextWriter, IAsyncDisposable, IDisposable
- Inheritance
-
CTerminalTextWriter
- Implements
- Inherited Members
Constructors
CTerminalTextWriter(ICTerminal)
public CTerminalTextWriter(ICTerminal terminal)
Parameters
terminal
ICTerminal
Properties
Encoding
When overridden in a derived class, returns the character encoding in which the output is written.
public override Encoding Encoding { get; }
Property Value
- Encoding
The character encoding in which the output is written.
Terminal
public ICTerminal Terminal { get; }
Property Value
Methods
Write(char)
Writes a character to the text stream.
public override void Write(char value)
Parameters
value
charThe character to write to the text stream.
Exceptions
- ObjectDisposedException
The TextWriter is closed.
- IOException
An I/O error occurs.
Write(ReadOnlySpan<char>)
Writes a character span to the text stream.
public override void Write(ReadOnlySpan<char> buffer)
Parameters
buffer
ReadOnlySpan<char>The character span to write.