C# Класс PsTest.PowerShellIseColorFormatter

Represents a color formatter which formats colors for a PowerShell ISE host.
Наследование: IColorFormatter
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
GetBackgroundColor ( ) : string

Get the current background color.

PowerShellIseColorFormatter ( IRunspace runspace ) : System

Initializes a new instance of the PowerShell ISE color formatter with the specified runtime.

SetBackgroundColor ( string color ) : void

Sets the background color to the specified color.

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

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

Get the current background color.
public GetBackgroundColor ( ) : string
Результат string

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

Initializes a new instance of the PowerShell ISE color formatter with the specified runtime.
public PowerShellIseColorFormatter ( IRunspace runspace ) : System
runspace IRunspace /// The runtime to use for formatting instructions. ///
Результат System

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

Sets the background color to the specified color.
public SetBackgroundColor ( string color ) : void
color string /// The color. ///
Результат void