C# Class Prebuild.Core.Utilities.CommandLineCollection

The CommandLine class parses and interprets the command-line arguments passed to prebuild.
Afficher le fichier Open project: aurora-sim/Aurora-Libs Class Usage Examples

Méthodes publiques

Méthode Description
CommandLineCollection ( string args ) : System

Create a new CommandLine instance and set some internal variables.

GetEnumerator ( ) : IDictionaryEnumerator

Returns an enumerator that can iterate through a collection.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that can iterate through a collection.

WasPassed ( string arg ) : bool

Wases the passed.

this ( string index ) : string

Gets the parameter associated with the command line option

Returns null if option was not specified, null string if no parameter was specified, and the value if a parameter was specified

Private Methods

Méthode Description
Parse ( ) : void

Method Details

CommandLineCollection() public méthode

Create a new CommandLine instance and set some internal variables.
public CommandLineCollection ( string args ) : System
args string
Résultat System

GetEnumerator() public méthode

Returns an enumerator that can iterate through a collection.
public GetEnumerator ( ) : IDictionaryEnumerator
Résultat IDictionaryEnumerator

GetEnumerator() public méthode

Returns an enumerator that can iterate through a collection.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

WasPassed() public méthode

Wases the passed.
public WasPassed ( string arg ) : bool
arg string The arg.
Résultat bool

this() public méthode

Gets the parameter associated with the command line option
Returns null if option was not specified, null string if no parameter was specified, and the value if a parameter was specified
public this ( string index ) : string
index string
Résultat string