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