C# Class PsTest.PowerShellIseColorFormatter

Represents a color formatter which formats colors for a PowerShell ISE host.
Inheritance: IColorFormatter
Afficher le fichier Open project: knutkj/pstest Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

GetBackgroundColor() public méthode

Get the current background color.
public GetBackgroundColor ( ) : string
Résultat string

PowerShellIseColorFormatter() public méthode

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. ///
Résultat System

SetBackgroundColor() public méthode

Sets the background color to the specified color.
public SetBackgroundColor ( string color ) : void
color string /// The color. ///
Résultat void