IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Common.ColorConsole Class Reference

Sets the console color in the constructor and resets it in the dispose More...

+ Inheritance diagram for NUnit.Common.ColorConsole:
+ Collaboration diagram for NUnit.Common.ColorConsole:

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)
 

Detailed Description

Sets the console color in the constructor and resets it in the dispose

Constructor & Destructor Documentation

NUnit.Common.ColorConsole.ColorConsole ( ColorStyle  style)
inline

Initializes a new instance of the ColorConsole class.

Parameters
styleThe color style to use.

Member Function Documentation

static ConsoleColor NUnit.Common.ColorConsole.GetColor ( ColorStyle  style)
inlinestatic
static ConsoleColor NUnit.Common.ColorConsole.GetColorForStyle ( ColorStyle  style)
inlinestaticprivate
void NUnit.Common.ColorConsole.Dispose ( )
inline

If color is enabled, restores the console colors to their defaults


The documentation for this class was generated from the following file: