C# Class FluentBuild.Utilities.ConsoleColor

Sets the color of the console to support colorized output
Exibir arquivo Open project: SkightTeam/eLiteWeb

Public Methods

Method Description
SetColor ( BuildColor color ) : void
SetTemporaryColor ( BuildColor color ) : IDisposable
ShowAllColors ( ) : void

Private Methods

Method Description
GetStdHandle ( uint nStdHandle ) : IntPtr
SetConsoleTextAttribute ( IntPtr hConsoleOutput, int wAttributes ) : bool

Method Details

SetColor() public static method

public static SetColor ( BuildColor color ) : void
color BuildColor
return void

SetTemporaryColor() public static method

public static SetTemporaryColor ( BuildColor color ) : IDisposable
color BuildColor
return IDisposable

ShowAllColors() public static method

public static ShowAllColors ( ) : void
return void