C# Class AdvancedLauncher.SDK.Management.Commands.AbstractCommand

Base ICommand implementation
Inheritance: CrossDomainObject, ICommand
Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher

Public Methods

Method Description
AbstractCommand ( string commandName, string commandDescription ) : System.Collections.Generic

Main constructor

DoCommand ( string args ) : bool

The command action

GetDescription ( ) : string

Command description

GetName ( ) : string

Command name to execute

Protected Methods

Method Description
PrintTable ( List ColumnNames ) : List

Prints data in table view.

Method Details

AbstractCommand() public method

Main constructor
public AbstractCommand ( string commandName, string commandDescription ) : System.Collections.Generic
commandName string Command name to execute. See
commandDescription string Command description for help. See
return System.Collections.Generic

DoCommand() public abstract method

The command action
public abstract DoCommand ( string args ) : bool
args string Input arguments
return bool

GetDescription() public method

Command description
public GetDescription ( ) : string
return string

GetName() public method

Command name to execute
public GetName ( ) : string
return string

PrintTable() protected method

Prints data in table view.
protected PrintTable ( List ColumnNames ) : List
ColumnNames List List of column headers
return List