C# Class wmib.CommandPool

Afficher le fichier Open project: benapetr/wikimedia-bot Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static AliasExists ( string name ) : bool
name string
Résultat bool

Exists() public static méthode

public static Exists ( string command ) : bool
command string
Résultat bool

GetCommand() public static méthode

public static GetCommand ( string command ) : GenericCommand
command string
Résultat GenericCommand

RegisterAlias() public static méthode

public static RegisterAlias ( string name, string target, string module = null ) : void
name string
target string
module string
Résultat void

RegisterCommand() public static méthode

public static RegisterCommand ( GenericCommand command ) : void
command GenericCommand
Résultat void

UnregisterAlias() public static méthode

public static UnregisterAlias ( string name ) : void
name string
Résultat void

UnregisterCommand() public static méthode

public static UnregisterCommand ( GenericCommand command ) : void
command GenericCommand
Résultat void

UnregisterCommand() public static méthode

public static UnregisterCommand ( string command_name ) : void
command_name string
Résultat void