PowerArgs.Cli.FixedHighlightTokenHighlighter.FixedHighlightTokenHighlighter C# (CSharp) Method

FixedHighlightTokenHighlighter() public method

Creates a new highlighter using the given colors
public FixedHighlightTokenHighlighter ( ConsoleColor fg = null, ConsoleColor bg = null ) : System
fg ConsoleColor The foreground color of this highlighter. If null, the console default is used.
bg ConsoleColor The background color of this highlighter. If null, the console default is used.
return System
        public FixedHighlightTokenHighlighter(ConsoleColor? fg = null, ConsoleColor? bg = null)
        {
            this.HighlightForegroundColor = fg;
            this.HighlightBackgroundColor = bg;
        }