StiService Class
Namespace: Stimulsoft.Base.Services
Describes an asbtract class that serves for services realization.
Inheritance
Implements: ICloneable, IAsIs
Properties
| Property | Type | Description |
|---|---|---|
| properties | StiRepositoryItems | |
| serviceCategory | string | Gets a service category. |
| serviceEnabled | boolean | Gets or sets the value whether a service is enabled or not. |
| serviceInfo | string | Gets a service description. |
| serviceName | string | Gets a service name. |
| serviceType | Stimulsoft.System.Type | Gets a service type. |
Methods
| Method | Returns | Description |
|---|---|---|
| clone | any | Creates a new object that is a copy of the current instance. |
| implements | any[] | |
| isPropertiesInitializedProtected | boolean | Internal use only, for LoadDocument optimization. |
| isPropertyPresent | boolean | |
| loadFromJsonObject | void | |
| loadFromXml | void | |
| memberwiseClone | StiService | |
| meta | StiMeta[] | |
| saveToJsonObject | StiJson |
Method Details
clone
clone(cloneProperties: any, cloneComponents: any, base: any): any
Creates a new object that is a copy of the current instance.
Parameters
- cloneProperties (any)
- cloneComponents (any)
- base (any)
Returns any
implements
implements(): any[]
Returns any[]
isPropertiesInitializedProtected
isPropertiesInitializedProtected(): boolean
Internal use only, for LoadDocument optimization.
Returns boolean
isPropertyPresent
isPropertyPresent(key: any): boolean
Parameters
- key (any)
Returns boolean
loadFromJsonObject
loadFromJsonObject(jObject: StiJson): void
Parameters
- jObject (StiJson)
loadFromXml
loadFromXml(xmlNode: XmlNode): void
Parameters
- xmlNode (XmlNode)
memberwiseClone
memberwiseClone(base: any): StiService
Parameters
- base (any)
Returns StiService
meta
meta(): StiMeta[]
Returns StiMeta[]
saveToJsonObject
saveToJsonObject(mode: StiJsonSaveMode): StiJson
Parameters
- mode (StiJsonSaveMode)
Returns StiJson