C# Class Pluton.ConsoleCommand

ファイルを表示 Open project: Notulp/Pluton Class Usage Examples

Public Properties

Property Type Description
_command string
_description string
_usage string
callback CallbackDelegate
plugin BasePlugin

Public Methods

Method Description
ConsoleCommand ( ) : System
ConsoleCommand ( string command ) : System
setCallback ( CallbackDelegate function ) : ConsoleCommand
setCallback ( string function ) : ConsoleCommand
setCommand ( string command ) : ConsoleCommand
setDescription ( string description ) : ConsoleCommand
setUsage ( string usage ) : ConsoleCommand

Method Details

ConsoleCommand() public method

public ConsoleCommand ( ) : System
return System

ConsoleCommand() public method

public ConsoleCommand ( string command ) : System
command string
return System

setCallback() public method

public setCallback ( CallbackDelegate function ) : ConsoleCommand
function CallbackDelegate
return ConsoleCommand

setCallback() public method

public setCallback ( string function ) : ConsoleCommand
function string
return ConsoleCommand

setCommand() public method

public setCommand ( string command ) : ConsoleCommand
command string
return ConsoleCommand

setDescription() public method

public setDescription ( string description ) : ConsoleCommand
description string
return ConsoleCommand

setUsage() public method

public setUsage ( string usage ) : ConsoleCommand
usage string
return ConsoleCommand

Property Details

_command public_oe property

public string _command
return string

_description public_oe property

public string _description
return string

_usage public_oe property

public string _usage
return string

callback public_oe property

public CallbackDelegate callback
return CallbackDelegate

plugin public_oe property

public BasePlugin plugin
return BasePlugin