C# Class Thinktecture.IdentityModel.Utility.ConsoleExtensions

Helper class to write out colored messages to the console
Mostra file Open project: IdentityModel/Thinktecture.IdentityModel.v1

Public Methods

Method 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 method

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

ConsoleGreen() public static method

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

ConsoleRed() public static method

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

ConsoleYellow() public static method

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