IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Sets the console color in the constructor and resets it in the dispose More...
Public Member Functions | |
ColorConsole (ColorStyle style) | |
Initializes a new instance of the ColorConsole class. More... | |
void | Dispose () |
If color is enabled, restores the console colors to their defaults More... | |
Static Public Member Functions | |
static ConsoleColor | GetColor (ColorStyle style) |
By using styles, we can keep everything consistent More... | |
Static Private Member Functions | |
static ConsoleColor | GetColorForStyle (ColorStyle style) |
Sets the console color in the constructor and resets it in the dispose
|
inline |
Initializes a new instance of the ColorConsole class.
style | The color style to use. |
|
inlinestatic |
By using styles, we can keep everything consistent
style |
Referenced by NUnit.ConsoleRunner.Tests.ColorConsoleTests.SetUp(), NUnit.ConsoleRunner.Tests.ColorConsoleTests.TestConstructor(), and NUnit.ConsoleRunner.Utilities.Tests.ColorStyleTests.TestGetColor().
|
inlinestaticprivate |
|
inline |
If color is enabled, restores the console colors to their defaults