StiDataParser Class
Namespace: Stimulsoft.Data.Parsers
Constructors
| Constructor | Description |
|---|---|
| StiDataParser(IStiAppDictionary dictionary, DataTable table, List<IStiMeter> meters) |
StiDataParser(dictionary: IStiAppDictionary, table: DataTable, meters: List<IStiMeter>)
Parameters
- dictionary (IStiAppDictionary)
- table (DataTable)
- meters (List<IStiMeter>)
Properties
| Property | Type | Description |
|---|---|---|
| Dictionary | IStiAppDictionary | |
| Dimensions | IStiDimensionMeter[] | |
| IsGrandTotal | bool | |
| Meters | IEnumerable<IStiMeter> | |
| Table | DataTable |
Methods
| Method | Returns | Description |
|---|---|---|
| GetDataColumnIndex | int | |
| GetDimensionIndex | int | |
| GetSystemVariableValue | object | |
| GetVariableValue | object | |
| IsSystemVariable | bool | |
| IsVariable | bool | |
| RunFunction | object |
Method Details
GetDataColumnIndex
GetDataColumnIndex(columnName: string): int
Parameters
- columnName (string)
Returns int
GetDimensionIndex
GetDimensionIndex(dimension: IStiDimensionMeter): int
Parameters
- dimension (IStiDimensionMeter)
Returns int
GetSystemVariableValue
GetSystemVariableValue(name: string): object
Parameters
- name (string)
Returns object
GetVariableValue
GetVariableValue(name: string): object
Parameters
- name (string)
Returns object
IsSystemVariable
IsSystemVariable(name: string): bool
Parameters
- name (string)
Returns bool
IsVariable
IsVariable(name: string): bool
Parameters
- name (string)
Returns bool
RunFunction
RunFunction(funcName: string, args: FunctionArgs): object
Parameters
- funcName (string)
- args (FunctionArgs)
Returns object