C# Класс IrcShark.Extensions.Terminal.TerminalCommand

By inheriting from the TerminalCommand class, you can write your own commands for the TerminalExtension.
Наследование: System.MarshalByRefObject, ITerminalCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AutoComplete() публичный Метод

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.
Результат string[]

Execute() публичный абстрактный Метод

Executes the command.
Implement this method with the behavior of your command.
public abstract Execute ( ) : void
Результат void

Init() публичный Метод

Gives the current TerminalExtension instance to the TerminalCommand instance.
public Init ( TerminalExtension terminal ) : void
terminal TerminalExtension The currently activ TerminalExtension instance.
Результат void