C# 클래스 ArgsTests.TestConsoleProvider

상속: PowerArgs.IConsoleProvider
파일 보기 프로젝트 열기: adamabdelhamed/PowerArgs 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string text ) : void
Clear ( ) : void
Read ( ) : int
ReadKey ( ) : ConsoleKeyInfo
ReadKey ( bool intercept ) : ConsoleKeyInfo
ReadLine ( ) : string
SimulateConsoleInput ( string input ) : TestConsoleProvider
TestConsoleProvider ( string input = "" ) : System
Write ( ConsoleCharacter consoleCharacter ) : void
Write ( ConsoleString consoleString ) : void
Write ( object output ) : void
WriteLine ( ) : void
WriteLine ( ConsoleString consoleString ) : void
WriteLine ( object output ) : void

비공개 메소드들

메소드 설명
ReadAheadLookFor ( string toFind ) : bool

메소드 상세

Append() 공개 메소드

public Append ( string text ) : void
text string
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Read() 공개 메소드

public Read ( ) : int
리턴 int

ReadKey() 공개 메소드

public ReadKey ( ) : ConsoleKeyInfo
리턴 System.ConsoleKeyInfo

ReadKey() 공개 메소드

public ReadKey ( bool intercept ) : ConsoleKeyInfo
intercept bool
리턴 System.ConsoleKeyInfo

ReadLine() 공개 메소드

public ReadLine ( ) : string
리턴 string

SimulateConsoleInput() 공개 정적인 메소드

public static SimulateConsoleInput ( string input ) : TestConsoleProvider
input string
리턴 TestConsoleProvider

TestConsoleProvider() 공개 메소드

public TestConsoleProvider ( string input = "" ) : System
input string
리턴 System

Write() 공개 메소드

public Write ( ConsoleCharacter consoleCharacter ) : void
consoleCharacter ConsoleCharacter
리턴 void

Write() 공개 메소드

public Write ( ConsoleString consoleString ) : void
consoleString ConsoleString
리턴 void

Write() 공개 메소드

public Write ( object output ) : void
output object
리턴 void

WriteLine() 공개 메소드

public WriteLine ( ) : void
리턴 void

WriteLine() 공개 메소드

public WriteLine ( ConsoleString consoleString ) : void
consoleString ConsoleString
리턴 void

WriteLine() 공개 메소드

public WriteLine ( object output ) : void
output object
리턴 void