C# Class Rosetta.Executable.Executable

Base class for executables.
Afficher le fichier Open project: andry-tino/Rosetta

Protected Properties

Свойство Type Description
args string[]
options OptionSet

Méthodes publiques

Méthode Description
Executable ( string args ) : System

Initializes a new instance of the Executable.

Execute ( ) : void

Starts the program.

Méthodes protégées

Méthode 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 méthode

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

Execute() public méthode

Starts the program.
public Execute ( ) : void
Résultat void

ExecuteCore() protected abstract méthode

Runs the main logic.
protected abstract ExecuteCore ( ) : void
Résultat void

HandleExtraParameters() protected abstract méthode

protected abstract HandleExtraParameters ( IEnumerable extra ) : void
extra IEnumerable
Résultat void

HandleOptionException() protected abstract méthode

protected abstract HandleOptionException ( Mono.Options.OptionException e ) : void
e Mono.Options.OptionException
Résultat void

ShowHelp() protected abstract méthode

Override this for showing help.
protected abstract ShowHelp ( ) : void
Résultat void

Property Details

args protected_oe property

protected string[] args
Résultat string[]

options protected_oe property

protected OptionSet options
Résultat OptionSet