Table of Contents

Class ConsoleUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Methods related to Console.

public static class ConsoleUtils
Inheritance
ConsoleUtils

Fields

DefaultErrorPrefix

Gets or sets default string prefix for console error messages.

DefaultOutputPrefix

Gets or sets default string prefix for console messages.

Properties

CustomConsole

Gets or sets default ICustomConsole interface provider.

DummyConsole

Gets dummy ICustomConsole interface provider which does nothing.

Methods

BindConsoleError(string?)

Binds console error to Log(object?, LogItemKind).

BindConsoleOutput(string?)

Binds system console output to Log(object?, LogItemKind).

UnbindConsoleError()

Unbinds console error from Log(object?, LogItemKind).

UnbindConsoleOutput()

Unbinds system console output from Log(object?, LogItemKind).