C# 클래스 Rhino.Tools.Shell.ShellConsole

파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void

Flushes the console's output

GetConsole ( Scriptable scope, Encoding cs ) : ShellConsole

Provides a specialized ShellConsole to handle line editing, history and completion. Relies on the JLine library (see ).

GetConsole ( Stream @in, TextWriter ps, Encoding cs ) : ShellConsole

Returns a new ShellConsole which uses the supplied System.IO.Stream and System.IO.TextWriter for its input/output

GetIn ( ) : Stream

Returns the underlying System.IO.Stream

Print ( string s ) : void

Prints a single string to the console

Println ( ) : void

Prints the newline character-sequence to the console

Println ( string s ) : void

Prints a string and the newline character-sequence to the console

ReadLine ( ) : string

Reads a single line from the console

ReadLine ( string prompt ) : string

Reads a single line from the console and sets the console's prompt to prompt

보호된 메소드들

메소드 설명
ShellConsole ( ) : System

비공개 메소드들

메소드 설명
GetJLineShellConsoleV1 ( ClassLoader classLoader, Type readerClass, Scriptable scope, Encoding cs ) : ShellConsole.JLineShellConsoleV1
GetJLineShellConsoleV2 ( ClassLoader classLoader, Type readerClass, Scriptable scope, Encoding cs ) : ShellConsole.JLineShellConsoleV2
TryInvoke ( object obj, string method, Type paramTypes ) : object

메소드 상세

Flush() 공개 추상적인 메소드

Flushes the console's output
public abstract Flush ( ) : void
리턴 void

GetConsole() 공개 정적인 메소드

Provides a specialized ShellConsole to handle line editing, history and completion. Relies on the JLine library (see ).
public static GetConsole ( Scriptable scope, Encoding cs ) : ShellConsole
scope Scriptable
cs System.Text.Encoding
리턴 ShellConsole

GetConsole() 공개 정적인 메소드

Returns a new ShellConsole which uses the supplied System.IO.Stream and System.IO.TextWriter for its input/output
public static GetConsole ( Stream @in, TextWriter ps, Encoding cs ) : ShellConsole
@in Stream
ps System.IO.TextWriter
cs System.Text.Encoding
리턴 ShellConsole

GetIn() 공개 추상적인 메소드

Returns the underlying System.IO.Stream
public abstract GetIn ( ) : Stream
리턴 Stream

Print() 공개 추상적인 메소드

Prints a single string to the console
public abstract Print ( string s ) : void
s string
리턴 void

Println() 공개 추상적인 메소드

Prints the newline character-sequence to the console
public abstract Println ( ) : void
리턴 void

Println() 공개 추상적인 메소드

Prints a string and the newline character-sequence to the console
public abstract Println ( string s ) : void
s string
리턴 void

ReadLine() 공개 추상적인 메소드

Reads a single line from the console
public abstract ReadLine ( ) : string
리턴 string

ReadLine() 공개 추상적인 메소드

Reads a single line from the console and sets the console's prompt to prompt
public abstract ReadLine ( string prompt ) : string
prompt string
리턴 string

ShellConsole() 보호된 메소드

protected ShellConsole ( ) : System
리턴 System