ConsoleThemeStyle Constructor |
Initializes a new ConsoleThemeStyle.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Console
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public ConsoleThemeStyle( string ansiCode, Nullable<ConsoleColor> foregroundColor, Nullable<ConsoleColor> backgroundColor = null )
Parameters
- ansiCode
- Type: System.String
The VT ANSI code for the style. This parameter can be null if the whole theme does not support VT ANSI codes. - foregroundColor
- Type: System.Nullable<ConsoleColor>
The foreground color (used as a fallback when the console does not support VT ANSI codes). - backgroundColor (Optional)
- Type: System.Nullable<ConsoleColor>
The background color (used as a fallback when the console does not support VT ANSI codes).