C# Class Rosetta.Executable.Executable

Base class for executables.
Mostrar archivo Open project: andry-tino/Rosetta

Protected Properties

Property Type Description
args string[]
options OptionSet

Public Methods

Method Description
Executable ( string args ) : System

Initializes a new instance of the Executable.

Execute ( ) : void

Starts the program.

Protected Methods

Method Description
ExecuteCore ( ) : void

Runs the main logic.

HandleExtraParameters ( IEnumerable extra ) : void

HandleOptionException ( Mono.Options.OptionException e ) : void

ShowHelp ( ) : void

Override this for showing help.

Method Details

Executable() public method

Initializes a new instance of the Executable.
public Executable ( string args ) : System
args string The arguments passed to the executable.
return System

Execute() public method

Starts the program.
public Execute ( ) : void
return void

ExecuteCore() protected abstract method

Runs the main logic.
protected abstract ExecuteCore ( ) : void
return void

HandleExtraParameters() protected abstract method

protected abstract HandleExtraParameters ( IEnumerable extra ) : void
extra IEnumerable
return void

HandleOptionException() protected abstract method

protected abstract HandleOptionException ( Mono.Options.OptionException e ) : void
e Mono.Options.OptionException
return void

ShowHelp() protected abstract method

Override this for showing help.
protected abstract ShowHelp ( ) : void
return void

Property Details

args protected_oe property

protected string[] args
return string[]

options protected_oe property

protected OptionSet options
return OptionSet