SystemConsoleTerminal 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class SystemConsoleTerminal : System::CommandLine::Rendering::TerminalBase
public class SystemConsoleTerminal : System.CommandLine.Rendering.TerminalBase
type SystemConsoleTerminal = class
inherit TerminalBase
Public Class SystemConsoleTerminal
Inherits TerminalBase
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| SystemConsoleTerminal(IConsole) | |
属性
| 名称 | 说明 |
|---|---|
| BackgroundColor | |
| Console | (继承自 TerminalBase) |
| CursorLeft | |
| CursorTop | |
| Error | (继承自 TerminalBase) |
| ForegroundColor | |
| IsErrorRedirected | (继承自 TerminalBase) |
| IsInputRedirected | (继承自 TerminalBase) |
| IsOutputRedirected | (继承自 TerminalBase) |
| Out | (继承自 TerminalBase) |
| OutputMode | (继承自 TerminalBase) |
方法
| 名称 | 说明 |
|---|---|
| Clear() | |
| Dispose() | (继承自 TerminalBase) |
| Dispose(Boolean) | |
| GetRegion() | (继承自 TerminalBase) |
| HideCursor() | |
| ResetColor() | |
| SetCursorPosition(Int32, Int32) | |
| ShowCursor() | |
扩展方法
| 名称 | 说明 |
|---|---|
| Append(IConsole, View, OutputMode) | |
| DetectOutputMode(IConsole) | |
| GetTerminal(IConsole, Boolean, OutputMode) | |
| Render(ITerminal, FormattableString, Region) | |
| Render(ITerminal, TextSpan, Region) | |