C# 클래스 IrcShark.Extensions.Terminal.TerminalCommand

By inheriting from the TerminalCommand class, you can write your own commands for the TerminalExtension.
상속: System.MarshalByRefObject, ITerminalCommand
파일 보기 프로젝트 열기: hapm/IrcShark

공개 메소드들

메소드 설명
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