C# 클래스 Microsoft.Scripting.Runtime.SharedIO

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
GetEncoding ( ConsoleStreamType type ) : Encoding
GetReader ( Encoding &encoding ) : TextReader
GetStream ( ConsoleStreamType type ) : Stream
GetStreamProxy ( ConsoleStreamType type ) : Stream
GetWriter ( ConsoleStreamType type ) : TextWriter
RedirectToConsole ( ) : void
SetErrorOutput ( Stream stream, TextWriter writer ) : void
SetInput ( Stream stream, TextReader reader, Encoding encoding ) : void
SetOutput ( Stream stream, TextWriter writer ) : void

Only host should redirect I/O.

비공개 메소드들

메소드 설명
InitializeErrorOutput ( ) : void
InitializeInput ( ) : void
InitializeOutput ( ) : void
SharedIO ( ) : System.Linq.Expressions

메소드 상세

GetEncoding() 공개 메소드

public GetEncoding ( ConsoleStreamType type ) : Encoding
type ConsoleStreamType
리턴 System.Text.Encoding

GetReader() 공개 메소드

public GetReader ( Encoding &encoding ) : TextReader
encoding System.Text.Encoding
리턴 TextReader

GetStream() 공개 메소드

public GetStream ( ConsoleStreamType type ) : Stream
type ConsoleStreamType
리턴 Stream

GetStreamProxy() 공개 메소드

public GetStreamProxy ( ConsoleStreamType type ) : Stream
type ConsoleStreamType
리턴 Stream

GetWriter() 공개 메소드

public GetWriter ( ConsoleStreamType type ) : TextWriter
type ConsoleStreamType
리턴 System.IO.TextWriter

RedirectToConsole() 공개 메소드

public RedirectToConsole ( ) : void
리턴 void

SetErrorOutput() 공개 메소드

public SetErrorOutput ( Stream stream, TextWriter writer ) : void
stream Stream
writer System.IO.TextWriter
리턴 void

SetInput() 공개 메소드

public SetInput ( Stream stream, TextReader reader, Encoding encoding ) : void
stream Stream
reader TextReader
encoding System.Text.Encoding
리턴 void

SetOutput() 공개 메소드

Only host should redirect I/O.
public SetOutput ( Stream stream, TextWriter writer ) : void
stream Stream
writer System.IO.TextWriter
리턴 void