Class CommandArgumentSet
Inheritance
CommandArgumentSet
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class CommandArgumentSet
Fields
Filenames
Declaration
public List<string> Filenames
Field Value
Flags
Declaration
public Dictionary<string, bool> Flags
Field Value
Floats
Declaration
public Dictionary<string, float> Floats
Field Value
Integers
Declaration
public Dictionary<string, int> Integers
Field Value
SawArguments
Declaration
public HashSet<string> SawArguments
Field Value
Type |
Description |
HashSet<String> |
|
Strings
Declaration
public Dictionary<string, string> Strings
Field Value
Methods
error_invalid_value(String, String)
Declaration
protected virtual void error_invalid_value(string arg, string value)
Parameters
error_missing_argument(String)
Declaration
protected virtual void error_missing_argument(string arg)
Parameters
Type |
Name |
Description |
String |
arg |
|
Parse(String[])
Declaration
public bool Parse(string[] arguments)
Parameters
Type |
Name |
Description |
String[] |
arguments |
|
Returns
Register(String, Boolean)
Declaration
public void Register(string argument, bool defaultValue)
Parameters
Register(String, Int32)
Declaration
public void Register(string argument, int defaultValue)
Parameters
Type |
Name |
Description |
String |
argument |
|
Int32 |
defaultValue |
|
Register(String, Single)
Declaration
public void Register(string argument, float defaultValue)
Parameters
Register(String, String)
Declaration
public void Register(string argument, string defaultValue)
Parameters
Saw(String)
Declaration
public bool Saw(string argument)
Parameters
Type |
Name |
Description |
String |
argument |
|
Returns
Validate(String, String[])
Declaration
public bool Validate(string sParam, params string[] values)
Parameters
Returns