C# Class System.CommandLine.Rendering.ForegroundColorSpan

Inheritance: System.CommandLine.Rendering.ColorSpan
Show file Open project: dotnet/command-line-api Class Usage Examples

Public Methods

Method Description
ForegroundColorSpan ( System.CommandLine.Rendering.RgbColor rgbColor )
ForegroundColorSpan ( byte r, byte g, byte b )
ForegroundColorSpan ( string name, System.CommandLine.Rendering.AnsiControlCode ansiControlCode )
Reset ( ) : ForegroundColorSpan
nameof ( )

Method Details

ForegroundColorSpan() public method

public ForegroundColorSpan ( System.CommandLine.Rendering.RgbColor rgbColor )
rgbColor System.CommandLine.Rendering.RgbColor

ForegroundColorSpan() public method

public ForegroundColorSpan ( byte r, byte g, byte b )
r byte
g byte
b byte

ForegroundColorSpan() public method

public ForegroundColorSpan ( string name, System.CommandLine.Rendering.AnsiControlCode ansiControlCode )
name string
ansiControlCode System.CommandLine.Rendering.AnsiControlCode

Reset() public static method

public static Reset ( ) : ForegroundColorSpan
return ForegroundColorSpan

nameof() public method

public nameof ( )