C# Class System.CommandLine.Rendering.BackgroundColorSpan

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

Public Methods

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

Method Details

BackgroundColorSpan() public method

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

BackgroundColorSpan() public method

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

BackgroundColorSpan() public method

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

Reset() public static method

public static Reset ( ) : BackgroundColorSpan
return BackgroundColorSpan

nameof() public method

public nameof ( )