PostSharp5.0/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: 5.0.55.0 (5.0.55.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).
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also