C# 클래스 PoshCode.Native.NativeConsole

A wrapper around AllocConsole, with some nice eventing to handle
상속: IDisposable
파일 보기 프로젝트 열기: Jaykul/PoshConsole 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Implement IDisposable Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NativeConsole ( ) : System

Creates and initializes a new instance of the NativeConsole class.

NativeConsole ( bool initialize ) : System

Creates and a new instance of the NativeConsole class and optionally initializes it.

SendCtrlBreak ( ) : void
SendCtrlC ( ) : void
WriteInput ( string input ) : void

Writes the input.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Handles actual cleanup actions, under two different scenarios

ErrorThread ( ) : void

The ErrorThread ThreadStart delegate

Initialize ( ) : bool
OutputThread ( ) : void

The OutputThread ThreadStart delegate

메소드 상세

Dispose() 공개 메소드

Implement IDisposable Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

NativeConsole() 공개 메소드

Creates and initializes a new instance of the NativeConsole class.
public NativeConsole ( ) : System
리턴 System

NativeConsole() 공개 메소드

Creates and a new instance of the NativeConsole class and optionally initializes it.
public NativeConsole ( bool initialize ) : System
initialize bool Whether to initialize the console or not
리턴 System

SendCtrlBreak() 공개 정적인 메소드

public static SendCtrlBreak ( ) : void
리턴 void

SendCtrlC() 공개 정적인 메소드

public static SendCtrlC ( ) : void
리턴 void

WriteInput() 공개 메소드

Writes the input.
public WriteInput ( string input ) : void
input string The input.
리턴 void