C# Class IrcShark.Extensions.Terminal.TerminalCommand

By inheriting from the TerminalCommand class, you can write your own commands for the TerminalExtension.
Inheritance: System.MarshalByRefObject, ITerminalCommand
Afficher le fichier Open project: hapm/IrcShark

Méthodes publiques

Méthode Description
AutoComplete ( CommandCall call, int paramIndex ) : string[]

Get autocomplete information for the given CommandCall.

Execute ( ) : void

Executes the command.

Implement this method with the behavior of your command.

Init ( TerminalExtension terminal ) : void

Gives the current TerminalExtension instance to the TerminalCommand instance.

Method Details

AutoComplete() public méthode

Get autocomplete information for the given CommandCall.
public AutoComplete ( CommandCall call, int paramIndex ) : string[]
call CommandCall The commandline to create auto complete info for.
paramIndex int The parameter to complete.
Résultat string[]

Execute() public abstract méthode

Executes the command.
Implement this method with the behavior of your command.
public abstract Execute ( ) : void
Résultat void

Init() public méthode

Gives the current TerminalExtension instance to the TerminalCommand instance.
public Init ( TerminalExtension terminal ) : void
terminal TerminalExtension The currently activ TerminalExtension instance.
Résultat void