Modifica

Condividi tramite


TestTerminal Class

Definition

public ref class TestTerminal : System::CommandLine::IConsole, System::CommandLine::Rendering::ITerminal
public class TestTerminal : System.CommandLine.IConsole, System.CommandLine.Rendering.ITerminal
type TestTerminal = class
    interface ITerminal
    interface IConsole
    interface IStandardOut
    interface IStandardError
    interface IStandardIn
Public Class TestTerminal
Implements IConsole, ITerminal
Inheritance
TestTerminal
Implements

Constructors

TestTerminal()

Properties

BackgroundColor
CursorLeft
CursorTop
Error
Events
ForegroundColor
Height
IsAnsiTerminal
IsErrorRedirected
IsInputRedirected
IsOutputRedirected
Out
OutputMode
Width

Methods

Clear()
GetRegion()
HideCursor()
RenderOperations()
ResetColor()
SetCursorPosition(Int32, Int32)
ShowCursor()

Extension Methods

Write(IConsole, String)

Writes the current string value to the standard output stream.

WriteLine(IConsole, String)

Writes the current string value, followed by the current environment's line terminator, to the standard output stream.

Append(IConsole, View, OutputMode)
DetectOutputMode(IConsole)
GetTerminal(IConsole, Boolean, OutputMode)
Render(ITerminal, TextSpan, Region)
Render(ITerminal, FormattableString, Region)

Applies to