C# Class CodeCake.CakeConsole

Inheritance: IConsole
Afficher le fichier Open project: SimpleGitVersion/CodeCake Class Usage Examples

Méthodes publiques

Méthode Description
ResetColor ( ) : void

Sets the foreground and background console colors to their defaults.

Write ( string format ) : void

Writes the text representation of the specified array of objects to the console output using the specified format information.

WriteError ( string format ) : void

Writes the text representation of the specified array of objects to the console error output using the specified format information.

WriteErrorLine ( string format ) : void

Writes the text representation of the specified array of objects, followed by the current line terminator, to the console error output using the specified format information.

WriteLine ( string format ) : void

Writes the text representation of the specified array of objects, followed by the current line terminator, to the console output using the specified format information.

Method Details

ResetColor() public méthode

Sets the foreground and background console colors to their defaults.
public ResetColor ( ) : void
Résultat void

Write() public méthode

Writes the text representation of the specified array of objects to the console output using the specified format information.
public Write ( string format ) : void
format string A composite format string
Résultat void

WriteError() public méthode

Writes the text representation of the specified array of objects to the console error output using the specified format information.
public WriteError ( string format ) : void
format string A composite format string
Résultat void

WriteErrorLine() public méthode

Writes the text representation of the specified array of objects, followed by the current line terminator, to the console error output using the specified format information.
public WriteErrorLine ( string format ) : void
format string A composite format string
Résultat void

WriteLine() public méthode

Writes the text representation of the specified array of objects, followed by the current line terminator, to the console output using the specified format information.
public WriteLine ( string format ) : void
format string A composite format string
Résultat void