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
Show file Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method 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 method

public Initialize ( IConfigSource source, ISimulationBase simBase ) : void
source IConfigSource
simBase ISimulationBase
return void

LockOutput() public method

public LockOutput ( ) : void
return void

Output() public method

public Output ( string text, Level level ) : void
text string
level Level
return void

ReadLine() public method

public ReadLine ( string p, bool isCommand, bool e ) : string
p string
isCommand bool
e bool
return string

UnlockOutput() public method

public UnlockOutput ( ) : void
return void