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