C# 클래스 OpenSim.Framework.Console.Commands

파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

공개 메소드들

메소드 설명
AddCommand ( string module, bool shared, string command, string help, string longhelp, CommandDelegate fn ) : void

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

AddCommand ( string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn ) : void

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

FindNextOption ( string cmd, bool term ) : string[]
FromXml ( XmlElement root, CommandDelegate fn ) : void
GetHelp ( string cmd ) : List

Get help for the given help string

GetXml ( XmlDocument doc ) : XmlElement
Resolve ( string cmd ) : string[]

비공개 메소드들

메소드 설명
CollectHelp ( object>.Dictionary dict ) : List
CollectHelp ( List helpParts ) : List

See if we can find the requested command in order to display longer help

ProcessTreeLevel ( object>.Dictionary level, XmlElement xml, XmlDocument doc ) : void
ReadTreeLevel ( object>.Dictionary level, XmlNode node, CommandDelegate fn ) : void

메소드 상세

AddCommand() 공개 메소드

Add a command to those which can be invoked from the console.
public AddCommand ( string module, bool shared, string command, string help, string longhelp, CommandDelegate fn ) : void
module string
shared bool
command string
help string
longhelp string
fn CommandDelegate
리턴 void

AddCommand() 공개 메소드

Add a command to those which can be invoked from the console.
public AddCommand ( string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn ) : void
module string
shared bool
command string
help string
longhelp string
descriptivehelp string
fn CommandDelegate
리턴 void

FindNextOption() 공개 메소드

public FindNextOption ( string cmd, bool term ) : string[]
cmd string
term bool
리턴 string[]

FromXml() 공개 메소드

public FromXml ( XmlElement root, CommandDelegate fn ) : void
root System.Xml.XmlElement
fn CommandDelegate
리턴 void

GetHelp() 공개 메소드

Get help for the given help string
public GetHelp ( string cmd ) : List
cmd string
리턴 List

GetXml() 공개 메소드

public GetXml ( XmlDocument doc ) : XmlElement
doc System.Xml.XmlDocument
리턴 System.Xml.XmlElement

Resolve() 공개 메소드

public Resolve ( string cmd ) : string[]
cmd string
리턴 string[]