ConsoleThemeStyle(string, ConsoleColor?, ConsoleColor?)
Initializes a new ConsoleThemeStyle.
Declaration
public ConsoleThemeStyle(string ansiCode, ConsoleColor? foregroundColor, ConsoleColor? backgroundColor = null)Parameters
| Type | Name | Description |
|---|---|---|
| string | ansiCode | The VT ANSI code for the style. This parameter can be |
| ConsoleColor? | foregroundColor | The foreground color (used as a fallback when the console does not support VT ANSI codes). |
| ConsoleColor? | backgroundColor | The background color (used as a fallback when the console does not support VT ANSI codes). |