IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Class encapsulating a command-line shell. Used as embedded shell application that can be installed on command-line interpreters and runnable scripts. More...
Public Member Functions | |
ShellApplication () | |
void | Main (string[] args) |
Entry point of the application. | |
override void | AddDefaultAssemblies () |
Adds assemblies to be automatically referenced by loaded scripts. | |
override void | AplicationMain (string[] args) |
Default main method for the current shell application. | |
override void | TestMain (string[] args) |
Runs the shell interpreter. | |
Protected Member Functions | |
override CommandLineApplicationInterpreter | CreateInterpreter () |
Creates and returns application's command-line interpreter. |
Class encapsulating a command-line shell. Used as embedded shell application that can be installed on command-line interpreters and runnable scripts.
$A Igor Jan01;
InterpreterType | : | CommandLineApplicationInterpreter | |
InterpreterType | : | new() |
IG::Lib::ShellApplication< InterpreterType >::ShellApplication | ( | ) | [inline] |
void IG::Lib::ShellApplication< InterpreterType >::Main | ( | string[] | args | ) | [inline] |
Entry point of the application.
args | Application arguments. |
override CommandLineApplicationInterpreter IG::Lib::ShellApplication< InterpreterType >::CreateInterpreter | ( | ) | [inline, protected, virtual] |
Creates and returns application's command-line interpreter.
Implements IG::Lib::ApplicationCommandlineBase.
override void IG::Lib::ShellApplication< InterpreterType >::AddDefaultAssemblies | ( | ) | [inline, virtual] |
Adds assemblies to be automatically referenced by loaded scripts.
Reimplemented from IG::Lib::ApplicationCommandlineBase.
override void IG::Lib::ShellApplication< InterpreterType >::AplicationMain | ( | string[] | args | ) | [inline, virtual] |
Default main method for the current shell application.
args | Command-line argumets passed when the application is run. |
$A Igor xx Nov09 Dec11;
Reimplemented from IG::Lib::ApplicationCommandlineBase.
override void IG::Lib::ShellApplication< InterpreterType >::TestMain | ( | string[] | args | ) | [inline, virtual] |
Runs the shell interpreter.
Standard scheme for IGLib-based test applications.
$A Igor Dec12;
Implements IG::Lib::ApplicationCommandlineBase.