OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Framework.Console.MockCommands Class Reference
Inheritance diagram for OpenSim.Framework.Console.MockCommands:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.Console.MockCommands:
Collaboration graph
[legend]

Public Member Functions

void FromXml (XmlElement root, CommandDelegate fn)
 
List< string > GetHelp (string[] cmd)
 Get help for the given help string More...
 
void AddCommand (string module, bool shared, string command, string help, string longhelp, CommandDelegate fn)
 Add a command to those which can be invoked from the console. More...
 
void AddCommand (string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn)
 Add a command to those which can be invoked from the console. More...
 
string[] FindNextOption (string[] cmd, bool term)
 
bool HasCommand (string cmd)
 Has the given command already been registered? More...
 
string[] Resolve (string[] cmd)
 
XmlElement GetXml (XmlDocument doc)
 

Detailed Description

Definition at line 78 of file MockConsole.cs.

Member Function Documentation

void OpenSim.Framework.Console.MockCommands.AddCommand ( string  module,
bool  shared,
string  command,
string  help,
string  longhelp,
CommandDelegate  fn 
)
inline

Add a command to those which can be invoked from the console.

Parameters
module
command
help
longhelp
fn

Implements OpenSim.Framework.ICommands.

Definition at line 82 of file MockConsole.cs.

void OpenSim.Framework.Console.MockCommands.AddCommand ( string  module,
bool  shared,
string  command,
string  help,
string  longhelp,
string  descriptivehelp,
CommandDelegate  fn 
)
inline

Add a command to those which can be invoked from the console.

Parameters
module
command
help
longhelp
descriptivehelp
fn

Implements OpenSim.Framework.ICommands.

Definition at line 83 of file MockConsole.cs.

string [] OpenSim.Framework.Console.MockCommands.FindNextOption ( string[]  cmd,
bool  term 
)
inline

Implements OpenSim.Framework.ICommands.

Definition at line 84 of file MockConsole.cs.

void OpenSim.Framework.Console.MockCommands.FromXml ( XmlElement  root,
CommandDelegate  fn 
)
inline

Implements OpenSim.Framework.ICommands.

Definition at line 80 of file MockConsole.cs.

List<string> OpenSim.Framework.Console.MockCommands.GetHelp ( string[]  cmd)
inline

Get help for the given help string

Parameters
cmdParsed parts of the help string. If empty then general help is returned.
Returns

Implements OpenSim.Framework.ICommands.

Definition at line 81 of file MockConsole.cs.

XmlElement OpenSim.Framework.Console.MockCommands.GetXml ( XmlDocument  doc)
inline

Implements OpenSim.Framework.ICommands.

Definition at line 87 of file MockConsole.cs.

bool OpenSim.Framework.Console.MockCommands.HasCommand ( string  command)
inline

Has the given command already been registered?

Returns
Parameters
commandCommand.

Implements OpenSim.Framework.ICommands.

Definition at line 85 of file MockConsole.cs.

string [] OpenSim.Framework.Console.MockCommands.Resolve ( string[]  cmd)
inline

Implements OpenSim.Framework.ICommands.

Definition at line 86 of file MockConsole.cs.


The documentation for this class was generated from the following file: