C# Класс FdoToolbox.Core.AppFramework.ConsoleColorSwitcher

A helper object to switch the text color of the console. All text written out to the console will be of the specified color until this object is disposed of.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
ConsoleColorSwitcher ( ConsoleColor color ) : System

Initializes a new instance of the ConsoleColorSwitcher class.

Dispose ( ) : void

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

Описание методов

ConsoleColorSwitcher() публичный Метод

Initializes a new instance of the ConsoleColorSwitcher class.
public ConsoleColorSwitcher ( ConsoleColor color ) : System
color ConsoleColor The color.
Результат System

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void