Writer

OutputConsoleTerminal.Writer property

获取控制台作为终端输出目的地。

public TextWriter Writer { get; }

也可以看看