TerminalBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา