StiRepositoryItems Class
Namespace: Stimulsoft.Base
Inheritance
Implements: ICloneable
Constructors
| Constructor | Description |
|---|---|
| StiRepositoryItems(StiService service) |
StiRepositoryItems(service: StiService)
Parameters
- service (StiService)
Methods
| Method | Returns | Description |
|---|---|---|
| Clone | object | |
| Equals | bool | |
| Get | object | |
| GetBool | bool | |
| GetFloat | float | |
| GetInt | int | |
| GetString | string | |
| IsPresent | bool | |
| Set | void | |
| SetBool | void | |
| SetFloat | void | |
| SetInt | void | |
| SetString | void |
Method Details
Clone
Clone(): object
Returns object
Equals
Equals(obj: StiRepositoryItems): bool
Parameters
- obj (StiRepositoryItems)
Returns bool
Get
Get(key: object, defaultValue: object): object
Parameters
- key (object)
- defaultValue (object)
Returns object
GetBool
GetBool(key: object, defaultValue: bool): bool
Parameters
- key (object)
- defaultValue (bool)
Returns bool
GetFloat
GetFloat(key: object, defaultValue: float): float
Parameters
- key (object)
- defaultValue (float)
Returns float
GetInt
GetInt(key: object, defaultValue: int): int
Parameters
- key (object)
- defaultValue (int)
Returns int
GetString
GetString(key: object, defaultValue: string): string
Parameters
- key (object)
- defaultValue (string)
Returns string
IsPresent
IsPresent(key: object): bool
Parameters
- key (object)
Returns bool
Set
Set(key: object, value: object, defaultValue: object): void
Parameters
- key (object)
- value (object)
- defaultValue (object)
SetBool
SetBool(key: object, value: bool, defaultValue: bool): void
Parameters
- key (object)
- value (bool)
- defaultValue (bool)
SetFloat
SetFloat(key: object, value: float, defaultValue: float): void
Parameters
- key (object)
- value (float)
- defaultValue (float)
SetInt
SetInt(key: object, value: int, defaultValue: int): void
Parameters
- key (object)
- value (int)
- defaultValue (int)
SetString
SetString(key: object, value: string, defaultValue: string): void
Parameters
- key (object)
- value (string)
- defaultValue (string)
Fields
| Field | Type | Description |
|---|---|---|
| value | int | |
| value | float | |
| value | string |