Property | Type | Description | |
---|---|---|---|
GetFirstParamValue | string | ||
InternalContains | bool | ||
InternalContainsAny | bool |
Method | Description | |
---|---|---|
Arguments ( ) : System |
Initializes a new instance of the Arguments class.
|
|
Arguments ( string args ) : System |
Initializes a new instance of the Arguments class.
|
|
Clear ( ) : void |
Removes all parameters from this collection
|
|
Contains ( ) : bool |
Determines whether contains any param in the specified param list.
|
|
Contains ( string param ) : bool |
Determines whether the specified param contains param.
|
|
ContainsValue ( string value ) : bool |
Determines whether the specified value contains value.
|
|
Get ( ) : string |
Gets the specified param value.
|
|
Get ( string param ) : string |
Gets the specified param value.
|
|
Parse ( string args ) : void |
Parse the specified arguments. Valid parameters forms: {-,/,--}param{ ,=,:}((",')value(",')) Examples: -param1 value1 --param2 /param3:"Test-:-work" /param4=happy -param5 '--=nice=--' |
|
ToString ( ) : string |
Returns a
|
|
this ( ) : string |
Gets the param or the second param, if the first doesn't exist.
|
|
this ( string param ) : string |
Gets the System.String with the specified param.
|
Method | Description | |
---|---|---|
GetFirstParamValue ( ) : string |
Gets the first param value.
|
|
InternalContains ( string param ) : bool |
Determines whether contains the specified param.
|
|
InternalContainsAny ( ) : bool |
Determines whether contains any param in the specified param list.
|
public Arguments ( string args ) : System | ||
args | string | The args. |
return | System |
public Contains ( string param ) : bool | ||
param | string | The param. |
return | bool |
public ContainsValue ( string value ) : bool | ||
value | string | The value. |
return | bool |