C# 클래스 PoshCode.PowerShell.Host

상속: System.Management.Automation.Host.PSHost, IDisposable
파일 보기 프로젝트 열기: Jaykul/PoshConsole 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EnterNestedPrompt void
ExitNestedPrompt void
Host System
MakeConsole void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
EnterNestedPrompt ( ) : void
ExitNestedPrompt ( ) : void
Host ( PoshConsole control, System.Windows.Controls.Panel progress, Options options ) : System
MakeConsole ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

KillConsole() 공개 메소드

public KillConsole ( ) : void
리턴 void

NotifyBeginApplication() 공개 메소드

public NotifyBeginApplication ( ) : void
리턴 void

NotifyEndApplication() 공개 메소드

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

SetShouldExit() 공개 메소드

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
리턴 void

WriteNativeError() 공개 메소드

public WriteNativeError ( string message ) : void
message string
리턴 void

WriteNativeOutput() 공개 메소드

public WriteNativeOutput ( string message ) : void
message string
리턴 void