C# Class Mono.XBuild.CommandLine.ConsoleReportPrinter

Afficher le fichier Open project: kumpera/mono Class Usage Examples

Méthodes publiques

Méthode Description
ConsoleReportPrinter ( ) : System
ConsoleReportPrinter ( TextWriter writer ) : System
Print ( string message ) : void
ResetColor ( ) : void
SetForeground ( ConsoleColor color ) : void

Private Methods

Méthode Description
FormatText ( string txt ) : string
GetBackground ( string s ) : string
GetForeground ( string s ) : string
NameToCode ( string s ) : int
PopulateColorPrefixes ( ) : void

Method Details

ConsoleReportPrinter() public méthode

public ConsoleReportPrinter ( ) : System
Résultat System

ConsoleReportPrinter() public méthode

public ConsoleReportPrinter ( TextWriter writer ) : System
writer System.IO.TextWriter
Résultat System

Print() public méthode

public Print ( string message ) : void
message string
Résultat void

ResetColor() public méthode

public ResetColor ( ) : void
Résultat void

SetForeground() public méthode

public SetForeground ( ConsoleColor color ) : void
color ConsoleColor
Résultat void