Represents a style in a console theme.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Console
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class ConsoleThemeStyle
Constructors
Name | Description |
---|---|
ConsoleThemeStyle(string, ConsoleColor?, ConsoleColor?) | Initializes a new ConsoleThemeStyle. |
Properties
Name | Description |
---|---|
AnsiCode | Gets the VT ANSI code for the style. |
BackgroundColor | Gets the background color (used as a fallback when the console does not support VT ANSI codes). |
ForegroundColor | Gets the foreground color (used as a fallback when the console does not support VT ANSI codes). |