C# Class Thinktecture.IdentityModel.Utility.ConsoleExtensions

Helper class to write out colored messages to the console
Afficher le fichier Open project: IdentityModel/Thinktecture.IdentityModel.v1

Méthodes publiques

Méthode Description
ColoredWriteLine ( this text, ConsoleColor color ) : void

Writes out text with the specified ConsoleColor.

ConsoleGreen ( this text ) : void

Writes green text to the console.

ConsoleRed ( this text ) : void

Writes red text to the console.

ConsoleYellow ( this text ) : void

Writes yellow text to the console.

Method Details

ColoredWriteLine() public static méthode

Writes out text with the specified ConsoleColor.
public static ColoredWriteLine ( this text, ConsoleColor color ) : void
text this The text.
color ConsoleColor The color.
Résultat void

ConsoleGreen() public static méthode

Writes green text to the console.
public static ConsoleGreen ( this text ) : void
text this The text.
Résultat void

ConsoleRed() public static méthode

Writes red text to the console.
public static ConsoleRed ( this text ) : void
text this The text.
Résultat void

ConsoleYellow() public static méthode

Writes yellow text to the console.
public static ConsoleYellow ( this text ) : void
text this The text.
Résultat void