Class Parameters
Assembly: cs.temp.dll.dll
Syntax
Properties
Count
Declaration
public int Count { get; }
Property Value
Keys
All the keys used in this list of parameters. Any implicit parameter that's not part of the command definition will
use a key with the format "___undef0" where the last number increments.
Declaration
public string[] Keys { get; }
Property Value
Methods
Get(Int32)
Returns the string value at the parameter index
Declaration
public string Get(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Get(String)
Returns the string value associated with the key, returns empty string if not in the list of parameters
Declaration
public string Get(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetBool(Int32)
Returns the bool value at the parameter index
Declaration
public bool GetBool(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetBool(String)
Returns the boolean value associated with the key, also returns false if not in the list of parameters
Declaration
public bool GetBool(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetFloat(Int32)
Returns the float value at the parameter index
Declaration
public float GetFloat(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetFloat(String)
Returns the float value associated with the key, returns 0 if not in the list of parameters
Declaration
public float GetFloat(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetInt(Int32)
Returns the int value at the parameter index
Declaration
public int GetInt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetInt(String)
Returns the int value associated with the key, returns 0 if not in the list of parameters
Declaration
public int GetInt(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
Has(String)
Returns true if the parameter with the specified key was entered
Declaration
public bool Has(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
TryGet(String, out String)
Provides the string value associated with the key, returns false if not in the list of parameters
Declaration
public bool TryGet(string key, out string value)
Parameters
Returns
TryGetBool(String, out Boolean)
Provides the boolean value associated with the key, returns false if not in the list of parameters
Declaration
public bool TryGetBool(string key, out bool value)
Parameters
Returns
TryGetFloat(String, out Single)
Provides the float value associated with the key, returns false if not in the list of parameters
Declaration
public bool TryGetFloat(string key, out float value)
Parameters
Returns
TryGetInt(String, out Int32)
Provides the int value associated with the key, returns false if not in the list of parameters
Declaration
public bool TryGetInt(string key, out int value)
Parameters
Returns