C# Class OpenSim.Framework.Console.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
Exibir arquivo Open project: N3X15/VoxelSim

Public Methods

Method Description
LockOutput ( ) : void
MockConsole ( string defaultPrompt ) : System
Output ( string text ) : void
Output ( string text, string level ) : void
ReadLine ( string p, bool isCommand, bool e ) : string
UnlockOutput ( ) : void

Method Details

LockOutput() public method

public LockOutput ( ) : void
return void

MockConsole() public method

public MockConsole ( string defaultPrompt ) : System
defaultPrompt string
return System

Output() public method

public Output ( string text ) : void
text string
return void

Output() public method

public Output ( string text, string level ) : void
text string
level string
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