C# Class Goblinfactory.Konsole.Mocks.MockConsole

Inheritance: IConsole
Afficher le fichier Open project: goblinfactory/progress-bar Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

MockConsole() public méthode

public MockConsole ( int width, int height, bool echo = false ) : System
width int
height int
echo bool
Résultat System

PrintAt() public méthode

public PrintAt ( int x, int y, string format ) : void
x int
y int
format string
Résultat void

WindowWidth() public méthode

public WindowWidth ( ) : int
Résultat int

Write() public méthode

public Write ( string format ) : void
format string
Résultat void

WriteLine() public méthode

public WriteLine ( string format ) : void
format string
Résultat void