Class ReadOnlyReportStore
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
A store that serves another store's reports and refuses every save, for a public demo or a published catalog. A refused save is an UnauthorizedAccessException, which the REST API answers with 403.
public sealed class ReadOnlyReportStore : ReportStore
- Inheritance
-
ReadOnlyReportStore
- Inherited Members
Constructors
- ReadOnlyReportStore(ReportStore, string?)
Initializes the store.
Methods
- ListAsync(CancellationToken)
Lists the reports' paths, relative and with forward slashes, including their extension.
- OpenAsync(string, CancellationToken)
Opens a report.
- SaveAsync(string, Stream, CancellationToken)
Saves a report, replacing any existing one.