C# Class Prebuild.Core.Utilities.CommandLineCollection

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

Public Methods

Method 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

Method Description
Parse ( ) : void

Method Details

CommandLineCollection() public method

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

GetEnumerator() public method

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

GetEnumerator() public method

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

WasPassed() public method

Wases the passed.
public WasPassed ( string arg ) : bool
arg string The arg.
return bool

this() public method

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
return string