C# Class PoshCode.PowerShell.Host

Inheritance: System.Management.Automation.Host.PSHost, IDisposable
Afficher le fichier Open project: Jaykul/PoshConsole Class Usage Examples

Private Properties

Свойство Type Description
EnterNestedPrompt void
ExitNestedPrompt void
Host System
MakeConsole void

Méthodes publiques

Méthode Description
Dispose ( ) : void
KillConsole ( ) : void
NotifyBeginApplication ( ) : void
NotifyEndApplication ( ) : void

This API is called after an external application process finishes.

SetShouldExit ( int exitCode ) : void

Indicate to the host application that exit has been requested. Pass the exit code that the host application should use when exiting the process.

WriteNativeError ( string message ) : void
WriteNativeOutput ( string message ) : void

Private Methods

Méthode Description
EnterNestedPrompt ( ) : void
ExitNestedPrompt ( ) : void
Host ( PoshConsole control, System.Windows.Controls.Panel progress, Options options ) : System
MakeConsole ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

KillConsole() public méthode

public KillConsole ( ) : void
Résultat void

NotifyBeginApplication() public méthode

public NotifyBeginApplication ( ) : void
Résultat void

NotifyEndApplication() public méthode

This API is called after an external application process finishes.
public NotifyEndApplication ( ) : void
Résultat void

SetShouldExit() public méthode

Indicate to the host application that exit has been requested. Pass the exit code that the host application should use when exiting the process.
public SetShouldExit ( int exitCode ) : void
exitCode int
Résultat void

WriteNativeError() public méthode

public WriteNativeError ( string message ) : void
message string
Résultat void

WriteNativeOutput() public méthode

public WriteNativeOutput ( string message ) : void
message string
Résultat void