C# Class Pluton.PluginCommands

显示文件 Open project: Notulp/Pluton Class Usage Examples

Public Properties

Property Type Description
Commands PluginCommand>.Dictionary

Public Methods

Method Description
GetInstance ( ) : PluginCommands
GetPlutonCommand ( string c, string defaultValue ) : string
Init ( ) : void
PluginCommands ( ) : System
RegisterCommand ( PluginCommand command ) : void
RegisterCommand ( string command, string usage, string description ) : void
getCommands ( ) : List
getDescriptions ( string command ) : string[]
getUsages ( string command ) : string[]

Method Details

GetInstance() public static method

public static GetInstance ( ) : PluginCommands
return PluginCommands

GetPlutonCommand() public method

public GetPlutonCommand ( string c, string defaultValue ) : string
c string
defaultValue string
return string

Init() public method

public Init ( ) : void
return void

PluginCommands() public method

public PluginCommands ( ) : System
return System

RegisterCommand() public method

public RegisterCommand ( PluginCommand command ) : void
command PluginCommand
return void

RegisterCommand() public method

public RegisterCommand ( string command, string usage, string description ) : void
command string
usage string
description string
return void

getCommands() public method

public getCommands ( ) : List
return List

getDescriptions() public method

public getDescriptions ( string command ) : string[]
command string
return string[]

getUsages() public method

public getUsages ( string command ) : string[]
command string
return string[]

Property Details

Commands public_oe static_oe property

public static Dictionary Commands
return PluginCommand>.Dictionary