C# Class PoshCode.PowerShell.Host

Inheritance: System.Management.Automation.Host.PSHost, IDisposable
Exibir arquivo Open project: Jaykul/PoshConsole Class Usage Examples

Private Properties

Property Type Description
EnterNestedPrompt void
ExitNestedPrompt void
Host System
MakeConsole void

Public Methods

Method 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

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

KillConsole() public method

public KillConsole ( ) : void
return void

NotifyBeginApplication() public method

public NotifyBeginApplication ( ) : void
return void

NotifyEndApplication() public method

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

SetShouldExit() public method

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
return void

WriteNativeError() public method

public WriteNativeError ( string message ) : void
message string
return void

WriteNativeOutput() public method

public WriteNativeOutput ( string message ) : void
message string
return void