PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/IConsole­Theme Interface

IConsoleTheme Interface

Exposes the semantics of a console color theme. A simple implementation is provided by the ConsoleTheme class, and ready-made themes are exposed on the ConsoleThemes class.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public interface IConsoleTheme

The IConsoleTheme type exposes the following members.

Properties
  NameDescription
Public propertySupportsAnsiCodes
Determines whether the theme supports VT escape codes.
Public propertySupportsThemeItems
Determines whether the theme supports differentiating the style according to the ConsoleThemeItem.
Methods
  NameDescription
Public methodGetStyle
Gets the ConsoleThemeStyle for a specific theme item.
See Also