Method | Description | |
---|---|---|
AddFromFile ( string filename ) : void | ||
Get ( AppFlag flag ) : string | ||
GetBool ( AppFlag flag, bool defaultValue = false ) : bool | ||
GetDouble ( AppFlag flag, double defaultValue = 0d ) : double | ||
Has ( AppFlag flag ) : bool | ||
Initialize ( IEnumerable |
||
Set ( AppFlag flag, bool &option ) : void | ||
Set ( AppFlag flag, double &option ) : void | ||
Set ( AppFlag flag, int &option ) : void | ||
Set ( AppFlag flag, string &option ) : void |
Method | Description | |
---|---|---|
ArgStringToFlag ( string arg ) : AppFlag? | ||
FlagToArgString ( AppFlag flag ) : string |
public static AddFromFile ( string filename ) : void | ||
filename | string | |
return | void |
public static GetBool ( AppFlag flag, bool defaultValue = false ) : bool | ||
flag | AppFlag | |
defaultValue | bool | |
return | bool |
public static GetDouble ( AppFlag flag, double defaultValue = 0d ) : double | ||
flag | AppFlag | |
defaultValue | double | |
return | double |
public static Initialize ( IEnumerable |
||
args | IEnumerable |
|
return | void |
public static Set ( AppFlag flag, bool &option ) : void | ||
flag | AppFlag | |
option | bool | |
return | void |
public static Set ( AppFlag flag, double &option ) : void | ||
flag | AppFlag | |
option | double | |
return | void |
public static Set ( AppFlag flag, int &option ) : void | ||
flag | AppFlag | |
option | int | |
return | void |
public static Set ( AppFlag flag, string &option ) : void | ||
flag | AppFlag | |
option | string | |
return | void |