PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​ConsoleConsole­ThemeConsole­Theme
Open sandboxFocus

ConsoleTheme Constructor

ConsoleTheme(Boolean)

Initializes a new ConsoleTheme.

Declaration
public ConsoleTheme(bool supportsAnsiCodes = true)
Parameters
Type Name Description
System.Boolean supportsAnsiCodes

Determines whether the theme supports VT ANSI codes.

ConsoleTheme(ConsoleTheme)

Initializes a new ConsoleTheme and copies all values from a given other ConsoleTheme.

Declaration
public ConsoleTheme(ConsoleTheme model)
Parameters
Type Name Description
ConsoleTheme model

The ConsoleTheme from which all values will be copied.