PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace / Console­Theme Class / Console­Theme Constructor / Console­Theme Constructor (Boolean)

ConsoleTheme Constructor (Boolean)

Initializes a new ConsoleTheme.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public ConsoleTheme(
	bool supportsAnsiCodes = true
)

Parameters

supportsAnsiCodes (Optional)
Type: System.Boolean
Determines whether the theme supports VT ANSI codes.
See Also