Modifica

Condividi tramite


TerminalBase Class

Definition

public ref class TerminalBase abstract : IDisposable, System::CommandLine::IConsole, System::CommandLine::Rendering::ITerminal
public abstract class TerminalBase : IDisposable, System.CommandLine.IConsole, System.CommandLine.Rendering.ITerminal
type TerminalBase = class
    interface ITerminal
    interface IConsole
    interface IStandardOut
    interface IStandardError
    interface IStandardIn
    interface IDisposable
Public MustInherit Class TerminalBase
Implements IConsole, IDisposable, ITerminal
Inheritance
TerminalBase
Derived
Implements

Constructors

TerminalBase(IConsole)

Properties

BackgroundColor
Console
CursorLeft
CursorTop
Error
ForegroundColor
IsErrorRedirected
IsInputRedirected
IsOutputRedirected
Out
OutputMode

Methods

Clear()
Dispose()
Dispose(Boolean)
GetRegion()
HideCursor()
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