Param
Param is a parameter class passed when communicating with the BACKND server.
In various methods that interact with the BACKND server, Param is passed as a parameter value.
Param provides the following methods.
Method | Return Value | Description |
---|---|---|
Add | void | Adds data to Param. |
AddCalculation | void | Adds data for calculation to Param. |
Parse | Param | Data or class in JSON format is converted to Param. |
Clear | void | Resets data added in Param. |
Clone | Param | Copies Param. |
GetJson | string | Returns data stored in Param in JSON format. |
GetValue | SortedList | Returns SortedList stored in Param. |
For more information on Add, AccCalculation, and Parse methods, please refer to each one's developer documentation.
Clear()
Resets data stored in Param.
Clear() -> void
// example
Param param = new Param();
...
param.clear();
Clone()
Copies Param.
Clone() -> Param
// example
Param copyParam = param.Clone();
GetJson()
Returns the data stored in Param as a string in JSON format.
GetJson() -> string
// example
Param param = new Param();
...
var json = param.GetJson();
GetValue()
Returns the data stored in Param.
GetValue() -> SortedList
// example
Param param = new Param();
...
var sList = param.GetValue();