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.ColorConsoleWriter Class Reference
+ Inheritance diagram for NUnit.Common.ColorConsoleWriter:
+ Collaboration diagram for NUnit.Common.ColorConsoleWriter:

Public Member Functions

 ColorConsoleWriter ()
 Construct a ColorConsoleWriter. More...
 
 ColorConsoleWriter (bool colorEnabled)
 Construct a ColorConsoleWriter. More...
 
override void Write (ColorStyle style, string value)
 Writes the value with the specified style. More...
 
override void WriteLine (ColorStyle style, string value)
 Writes the value with the specified style. More...
 
override void WriteLabel (string label, object option)
 Writes the label and the option that goes with it. More...
 
override void WriteLabelLine (string label, object option)
 Writes the label and the option that goes with it followed by a new line. More...
 
override void WriteLabel (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it and optionally writes a new line. More...
 
override void WriteLabelLine (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it followed by a new line. More...
 
- Public Member Functions inherited from NUnit.Common.ExtendedTextWrapper
 ExtendedTextWrapper (TextWriter writer)
 
override void Write (char value)
 Write a single char value More...
 
override void Write (string value)
 Write a string value More...
 
override void WriteLine (string value)
 Write a string value followed by a NewLine More...
 
override void Close ()
 Close the ExtendedTextWriter More...
 
override void Write (ColorStyle style, string value)
 Writes the value with the specified style. More...
 
override void WriteLine (ColorStyle style, string value)
 Writes the value with the specified style More...
 
override void WriteLabel (string label, object option)
 Writes the label and the option that goes with it. More...
 
override void WriteLabel (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it. More...
 
override void WriteLabelLine (string label, object option)
 Writes the label and the option that goes with it followed by a new line. More...
 
override void WriteLabelLine (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it followed by a new line. More...
 

Public Attributes

bool _colorEnabled
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Common.ExtendedTextWrapper
override void Dispose (bool disposing)
 Dispose the Extended TextWriter More...
 
- Properties inherited from NUnit.Common.ExtendedTextWrapper
override Encoding Encoding [get]
 Gets the encoding for this ExtendedTextWriter More...
 

Constructor & Destructor Documentation

NUnit.Common.ColorConsoleWriter.ColorConsoleWriter ( )
inline

Construct a ColorConsoleWriter.

NUnit.Common.ColorConsoleWriter.ColorConsoleWriter ( bool  colorEnabled)
inline

Construct a ColorConsoleWriter.

Parameters
colorEnabledFlag indicating whether color should be enabled

Member Function Documentation

override void NUnit.Common.ColorConsoleWriter.Write ( ColorStyle  style,
string  value 
)
inlinevirtual

Writes the value with the specified style.

Parameters
styleThe style.
valueThe value.

Implements NUnit.Common.ExtendedTextWriter.

override void NUnit.Common.ColorConsoleWriter.WriteLine ( ColorStyle  style,
string  value 
)
inlinevirtual

Writes the value with the specified style.

Parameters
styleThe style.
valueThe value.

Implements NUnit.Common.ExtendedTextWriter.

override void NUnit.Common.ColorConsoleWriter.WriteLabel ( string  label,
object  option 
)
inlinevirtual

Writes the label and the option that goes with it.

Parameters
labelThe label.
optionThe option.

Implements NUnit.Common.ExtendedTextWriter.

override void NUnit.Common.ColorConsoleWriter.WriteLabelLine ( string  label,
object  option 
)
inlinevirtual

Writes the label and the option that goes with it followed by a new line.

Parameters
labelThe label.
optionThe option.

Implements NUnit.Common.ExtendedTextWriter.

override void NUnit.Common.ColorConsoleWriter.WriteLabel ( string  label,
object  option,
ColorStyle  valueStyle 
)
inlinevirtual

Writes the label and the option that goes with it and optionally writes a new line.

Parameters
labelThe label.
optionThe option.
valueStyleThe color to display the value with

Implements NUnit.Common.ExtendedTextWriter.

override void NUnit.Common.ColorConsoleWriter.WriteLabelLine ( string  label,
object  option,
ColorStyle  valueStyle 
)
inlinevirtual

Writes the label and the option that goes with it followed by a new line.

Parameters
labelThe label.
optionThe option.
valueStyleThe color to display the value with

Implements NUnit.Common.ExtendedTextWriter.

Member Data Documentation

bool NUnit.Common.ColorConsoleWriter._colorEnabled

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