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

ConsoleThemeStyle Class

Represents a style in a console theme.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Backends.Console.ConsoleThemeStyle

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.15.0 (6.1.15.0)
Syntax
C#
public sealed class ConsoleThemeStyle

The ConsoleThemeStyle type exposes the following members.

Constructors
  NameDescription
Public methodConsoleThemeStyle
Initializes a new ConsoleThemeStyle.
Properties
  NameDescription
Public propertyAnsiCode
Gets the VT ANSI code for the style.
Public propertyBackgroundColor
Gets the background color (used as a fallback when the console does not support VT ANSI codes).
Public propertyForegroundColor
Gets the foreground color (used as a fallback when the console does not support VT ANSI codes).
See Also