C# Class FdoToolbox.Core.AppFramework.TempConsoleColor

A helper class to set the text color of the console. All text written to the console will be of the specified color until this object is disposed of.
Inheritance: IDisposable
Mostra file Open project: jumpinjackie/fdotoolbox

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TempConsoleColor ( ConsoleColor c ) : System

Initializes a new instance of the TempConsoleColor class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

TempConsoleColor() public method

Initializes a new instance of the TempConsoleColor class.
public TempConsoleColor ( ConsoleColor c ) : System
c ConsoleColor The c.
return System