Class TextWriterRaw
Raw text writers for console
Inheritance
Namespace: Terminaux.Writer.ConsoleWriters
Assembly: Terminaux.dll
Syntax
public static class TextWriterRaw
Methods
| Edit this page View SourceWrite()
Outputs the new line into the terminal prompt.
Declaration
public static void Write()
WriteError()
Outputs the new line into the terminal prompt (stderr).
Declaration
public static void WriteError()
WriteErrorPlain(string, bool, params object[])
Outputs the text into the terminal prompt (stderr) plainly.
Declaration
public static void WriteErrorPlain(string Text, bool Line, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
object[] | vars | Variables to format the message before it's written. |
WriteErrorPlain(string, params object[])
Outputs the text into the terminal prompt (stderr) plainly with a newline terminator.
Declaration
public static void WriteErrorPlain(string Text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
object[] | vars | Variables to format the message before it's written. |
WriteErrorRaw(string, params object[])
Outputs the text into the terminal prompt (stderr) plainly.
Declaration
public static void WriteErrorRaw(string Text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
object[] | vars | Variables to format the message before it's written. |
WritePlain(string, bool, params object[])
Outputs the text into the terminal prompt plainly.
Declaration
public static void WritePlain(string Text, bool Line, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
bool | Line | Whether to print a new line or not |
object[] | vars | Variables to format the message before it's written. |
WritePlain(string, params object[])
Outputs the text into the terminal prompt plainly with a newline terminator.
Declaration
public static void WritePlain(string Text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
object[] | vars | Variables to format the message before it's written. |
WritePlain(string, TermReaderSettings?, bool, params object[])
Outputs the text into the terminal prompt plainly. Use for TermReader custom bindings.
Declaration
public static void WritePlain(string Text, TermReaderSettings? settings, bool Line, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
TermReaderSettings | settings | Terminal reader settings |
bool | Line | Whether to print a new line or not |
object[] | vars | Variables to format the message before it's written. |
WritePlain(string, TermReaderSettings?, params object[])
Outputs the text into the terminal prompt plainly with a newline terminator. Use for TermReader custom bindings.
Declaration
public static void WritePlain(string Text, TermReaderSettings? settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
TermReaderSettings | settings | Terminal reader settings |
object[] | vars | Variables to format the message before it's written. |
WriteRaw(string, params object[])
Outputs the text into the terminal prompt plainly.
Declaration
public static void WriteRaw(string Text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
object[] | vars | Variables to format the message before it's written. |
WriteRaw(string, TermReaderSettings?, params object[])
Outputs the text into the terminal prompt plainly. Use for TermReader custom bindings.
Declaration
public static void WriteRaw(string Text, TermReaderSettings? settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | Text | A sentence that will be written to the terminal prompt. Supports {0}, {1}, ... |
TermReaderSettings | settings | Terminal reader settings |
object[] | vars | Variables to format the message before it's written. |