Skip to content

ConsoleManager Class

C#
public static class ConsoleManager

Inheritance object

C#
public static readonly ConfigEntry<bool> ConfigConsoleEnabled
C#
public static readonly ConfigEntry<bool> ConfigPreventClose
C#
public static readonly ConfigEntry<bool> ConfigConsoleShiftJis
C#
public static readonly ConfigEntry<ConsoleManager.ConsoleOutRedirectType> ConfigConsoleOutRedirectType
C#
public static bool ConsoleEnabled { get; }

True if an external console has been started, false otherwise.

C#
public static bool ConsoleActive { get; }

The stream that writes to the standard out stream of the process. Should never be null.

C#
public static TextWriter StandardOutStream { get; }

The stream that writes to an external console. Null if no such console exists

C#
public static TextWriter ConsoleStream { get; }
C#
public static void Initialize(bool alreadyActive, bool useManagedEncoder)

alreadyActive bool

useManagedEncoder bool

C#
public static void CreateConsole()
C#
public static void DetachConsole()
C#
public static void SetConsoleTitle(string title)

title string

C#
public static void SetConsoleColor(ConsoleColor color)

color ConsoleColor