C# Class Goblinfactory.Konsole.Mocks.MockConsole

Inheritance: IConsole
ファイルを表示 Open project: goblinfactory/progress-bar Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
MockConsole ( int width, int height, ConsoleColor color, ConsoleColor background, bool echo = false ) : System
MockConsole ( int width, int height, bool echo = false ) : System
PrintAt ( int x, int y, string format ) : void
WindowWidth ( ) : int
Write ( string format ) : void
WriteLine ( string format ) : void

Method Details

MockConsole() public method

public MockConsole ( int width, int height, ConsoleColor color, ConsoleColor background, bool echo = false ) : System
width int
height int
color ConsoleColor
background ConsoleColor
echo bool
return System

MockConsole() public method

public MockConsole ( int width, int height, bool echo = false ) : System
width int
height int
echo bool
return System

PrintAt() public method

public PrintAt ( int x, int y, string format ) : void
x int
y int
format string
return void

WindowWidth() public method

public WindowWidth ( ) : int
return int

Write() public method

public Write ( string format ) : void
format string
return void

WriteLine() public method

public WriteLine ( string format ) : void
format string
return void