C# 클래스 PowerShellHtmlConsole.PSWrapper

상속: IPSRemoteHostCallback, IDisposable
파일 보기 프로젝트 열기: SzymonPobiega/PowerShellHtmlConsole 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Exit ( int code ) : void
PSWrapper ( InputOutputBuffers buffers, System.Action exitCallback ) : System
TryExecute ( string cmd ) : void

비공개 메소드들

메소드 설명
Execute ( string cmd ) : void
ReportException ( Exception e ) : void

To display an exception using the display formatter, run a second pipeline passing in the error record. The runtime will bind this to the $input variable, which is why $input is being piped to the Out-String cmdlet. The WriteErrorLine method is called to make sure the error gets displayed in the correct error color.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Exit() 공개 메소드

public Exit ( int code ) : void
code int
리턴 void

PSWrapper() 공개 메소드

public PSWrapper ( InputOutputBuffers buffers, System.Action exitCallback ) : System
buffers InputOutputBuffers
exitCallback System.Action
리턴 System

TryExecute() 공개 메소드

public TryExecute ( string cmd ) : void
cmd string
리턴 void