C# Class Universe.Framework.ConsoleFramework.MockConsole

This is a Fake console that's used when setting up the Scene in Unit Tests Don't use this except for Unit Testing or you're in for a world of hurt when the sim gets to ReadLine
Inheritance: CommandConsole
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
Initialize ( IConfigSource source, ISimulationBase simBase ) : void
LockOutput ( ) : void
Output ( string text, Level level ) : void
ReadLine ( string p, bool isCommand, bool e ) : string
UnlockOutput ( ) : void

Method Details

Initialize() public méthode

public Initialize ( IConfigSource source, ISimulationBase simBase ) : void
source IConfigSource
simBase ISimulationBase
Résultat void

LockOutput() public méthode

public LockOutput ( ) : void
Résultat void

Output() public méthode

public Output ( string text, Level level ) : void
text string
level Level
Résultat void

ReadLine() public méthode

public ReadLine ( string p, bool isCommand, bool e ) : string
p string
isCommand bool
e bool
Résultat string

UnlockOutput() public méthode

public UnlockOutput ( ) : void
Résultat void