StiJsonReportSLService Class
Namespace: Stimulsoft.Report.SaveLoad
Describes the class that allows to save/load reports.
Inheritance
Inherits from: StiReportSLService
Methods
| Method | Returns | Description |
|---|---|---|
| GetAction | StiSLActions | Returns actions available for the provider. |
| GetFilter | string | Returns a filter for the provider. |
| Load | void | Loads a report from the stream. |
| LoadAsync | Task | Loads a report from the stream. |
| Save | void | Saves report in the stream. |
| SaveAsync | Task | Saves asynchronously report in the stream. |
Method Details
GetAction
GetAction(): StiSLActions
Returns actions available for the provider.
Returns StiSLActions — Available actions.
GetFilter
GetFilter(): string
Returns a filter for the provider.
Returns string — String with filter.
Load
Load(report: StiReport, stream: Stream): void
Loads a report from the stream.
Parameters
- report (StiReport) — The report in which loading will be done.
- stream (Stream) — Stream to save report.
LoadAsync
LoadAsync(report: StiReport, stream: Stream): Task
Loads a report from the stream.
Parameters
- report (StiReport) — The report in which loading will be done.
- stream (Stream) — Stream to save report.
Returns Task
Save
Save(report: StiReport, stream: Stream): void
Saves report in the stream.
Parameters
- report (StiReport) — Report for saving.
- stream (Stream) — Stream to save report.
SaveAsync
SaveAsync(report: StiReport, stream: Stream): Task
Saves asynchronously report in the stream.
Parameters
- report (StiReport) — Report for saving.
- stream (Stream) — Stream to save report.
Returns Task