C# Class IrcShark.Connectors.TerminalChatting.NetworksCommand

Inheritance: IrcShark.Extensions.Terminal.TerminalCommand
Exibir arquivo Open project: hapm/IrcShark

Public Methods

Method Description
AutoComplete ( CommandCall call, int paramIndex ) : string[]

Autocompletes networknames on deletion of networks.

Execute ( ) : void

Executes the networks command.

Init ( TerminalExtension terminal ) : void

Initializes the NetworksCommand.

Private Methods

Method Description
AddNetwork ( string paramList ) : void

Adds a new network to the networ configuration.

DeleteNetwork ( string paramList ) : void

Removes a network from the configuration.

ListNetworks ( ) : void

Shows a list of all networks.

Method Details

AutoComplete() public method

Autocompletes networknames on deletion of networks.
public AutoComplete ( CommandCall call, int paramIndex ) : string[]
call IrcShark.Extensions.Terminal.CommandCall The current line.
paramIndex int The parameter where the cursor stand on.
return string[]

Execute() public method

Executes the networks command.
public Execute ( ) : void
return void

Init() public method

Initializes the NetworksCommand.
public Init ( TerminalExtension terminal ) : void
terminal IrcShark.Extensions.Terminal.TerminalExtension The terminal to create the command for.
return void