C# Class VuzitCL.ArgvParser

Class for parsing command-line arguments.
显示文件 Open project: vuzit/vuzit.net Class Usage Examples

Public Methods

Method Description
ArgvParser ( string args ) : System

Base constructor for a single argument.

GetArg ( string argument1, string argument2 ) : string

Returns the data for an argument.

this ( string param ) : string

Returns the parser option or null if it does not exist.

Private Methods

Method Description
Extract ( string args ) : void

Extract command line parameters and values stored in a string array

Method Details

ArgvParser() public method

Base constructor for a single argument.
public ArgvParser ( string args ) : System
args string
return System

GetArg() public method

Returns the data for an argument.
public GetArg ( string argument1, string argument2 ) : string
argument1 string
argument2 string
return string

this() public method

Returns the parser option or null if it does not exist.
public this ( string param ) : string
param string
return string