C# Class System.CommandLine.Rendering.ForegroundColorSpan

Inheritance: System.CommandLine.Rendering.ColorSpan
Afficher le fichier Open project: dotnet/command-line-api Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ForegroundColorSpan() public méthode

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

ForegroundColorSpan() public méthode

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

Reset() public static méthode

public static Reset ( ) : ForegroundColorSpan
Résultat ForegroundColorSpan

nameof() public méthode

public nameof ( )