C# Class eldo.CommandLineOptions

Command Line Options for eldo
Afficher le fichier Open project: phryneas/eldo

Méthodes publiques

Свойство Type Description
arguments List
shell string
verbosity int

Méthodes publiques

Méthode Description
CommandLineOptions ( string args ) : System

constructor, parses command line arguments

Debug ( int minLevel, debugCallback callback ) : void

will call debugCallback with a logging function if verbosity is at least minLevel

Debug ( int minlevel, string format ) : void

print message if verbosity is at least minlevel

Private Methods

Méthode Description
Error ( string format ) : void

logs an error

log ( string format ) : void

all logging output will pass through this method

Method Details

CommandLineOptions() public méthode

constructor, parses command line arguments
public CommandLineOptions ( string args ) : System
args string command line arguments (without execution file name)
Résultat System

Debug() public méthode

will call debugCallback with a logging function if verbosity is at least minLevel
public Debug ( int minLevel, debugCallback callback ) : void
minLevel int
callback debugCallback
Résultat void

Debug() public méthode

print message if verbosity is at least minlevel
public Debug ( int minlevel, string format ) : void
minlevel int
format string
Résultat void

Property Details

arguments public_oe property

unparsed arguments
public List arguments
Résultat List

shell public_oe property

shell, if specified
public string shell
Résultat string

verbosity public_oe property

verbosity. number of times the -v flag is passed
public int verbosity
Résultat int