C# Class RyuaNerin.CommandLineParser

Exibir arquivo Open project: RyuaNerin/AheuiCSharp Class Usage Examples

Public Methods

Method Description
AddOptions ( ) : void
AddOptionsDefault ( string defaultValue ) : void
CommandLineParser ( ) : System
GetCommand ( int index ) : string
GetCommand ( ) : string[]
GetOption ( string key ) : bool
GetOptionDefaultValue ( string key ) : string
GetOptionValue ( string key ) : string
Parse ( string args ) : bool

Method Details

AddOptions() public method

public AddOptions ( ) : void
return void

AddOptionsDefault() public method

public AddOptionsDefault ( string defaultValue ) : void
defaultValue string
return void

CommandLineParser() public method

public CommandLineParser ( ) : System
return System

GetCommand() public method

public GetCommand ( int index ) : string
index int
return string

GetCommand() public method

public GetCommand ( ) : string[]
return string[]

GetOption() public method

public GetOption ( string key ) : bool
key string
return bool

GetOptionDefaultValue() public method

public GetOptionDefaultValue ( string key ) : string
key string
return string

GetOptionValue() public method

public GetOptionValue ( string key ) : string
key string
return string

Parse() public method

public Parse ( string args ) : bool
args string
return bool