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