C# Class wmib.CommandPool

ファイルを表示 Open project: benapetr/wikimedia-bot Class Usage Examples

Public Methods

Method Description
AliasExists ( string name ) : bool
Exists ( string command ) : bool
GetCommand ( string command ) : GenericCommand
RegisterAlias ( string name, string target, string module = null ) : void
RegisterCommand ( GenericCommand command ) : void
UnregisterAlias ( string name ) : void
UnregisterCommand ( GenericCommand command ) : void
UnregisterCommand ( string command_name ) : void

Method Details

AliasExists() public static method

public static AliasExists ( string name ) : bool
name string
return bool

Exists() public static method

public static Exists ( string command ) : bool
command string
return bool

GetCommand() public static method

public static GetCommand ( string command ) : GenericCommand
command string
return GenericCommand

RegisterAlias() public static method

public static RegisterAlias ( string name, string target, string module = null ) : void
name string
target string
module string
return void

RegisterCommand() public static method

public static RegisterCommand ( GenericCommand command ) : void
command GenericCommand
return void

UnregisterAlias() public static method

public static UnregisterAlias ( string name ) : void
name string
return void

UnregisterCommand() public static method

public static UnregisterCommand ( GenericCommand command ) : void
command GenericCommand
return void

UnregisterCommand() public static method

public static UnregisterCommand ( string command_name ) : void
command_name string
return void