ConsoleTheme Class |
A simple implementation of a color theme that allows only for two colors per LogLevel.

Namespace: PostSharp.Patterns.Diagnostics.Backends.Console
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.4.11.0 (6.4.11.0)

C#
public class ConsoleTheme : IConsoleTheme
The ConsoleTheme type exposes the following members.

Name | Description | |
---|---|---|
![]() | ConsoleTheme(Boolean) |
Initializes a new ConsoleTheme.
|
![]() | ConsoleTheme(ConsoleTheme) |
Initializes a new ConsoleTheme and copies all values from a given other ConsoleTheme.
|

Name | Description | |
---|---|---|
![]() | HightlightedStyles |
Gets the styles used for highlighted text.
|
![]() | NormalStyles |
Gets the styles used for normal text.
|
![]() | SupportsAnsiCodes |
Determines whether the theme supports VT escape codes.
|

Name | Description | |
---|---|---|
![]() | AddHightlightedItem |
Specifies that a ConsoleThemeItem should be formatted using the hightlighted style.
|
![]() | Clone |
Returns an editable copy of the current ConsoleTheme.
|
![]() | Freeze |
Prevents modifications in the current ConsoleTheme.
|
![]() | GetStyle |
Gets the ConsoleThemeStyle for a specific theme item.
|
![]() | RemoveHighlightedItem |
Specifies that a ConsoleThemeItem should be formatted using the normal style.
|
