Terminal.GetTerminal(IConsole, Boolean, OutputMode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static System.CommandLine.Rendering.ITerminal GetTerminal(this System.CommandLine.IConsole console, bool preferVirtualTerminal = true, System.CommandLine.Rendering.OutputMode outputMode = System.CommandLine.Rendering.OutputMode.Auto);
static member GetTerminal : System.CommandLine.IConsole * bool * System.CommandLine.Rendering.OutputMode -> System.CommandLine.Rendering.ITerminal
<Extension()>
Public Function GetTerminal (console As IConsole, Optional preferVirtualTerminal As Boolean = true, Optional outputMode As OutputMode = System.CommandLine.Rendering.OutputMode.Auto) As ITerminal
参数
- console
- IConsole
- preferVirtualTerminal
- Boolean
- outputMode
- OutputMode