Constructor LocalReportDesignerBackend
- Namespace
- ReportWright.Blazor.Designer
- Assembly
- ReportWright.Blazor.Designer.dll
LocalReportDesignerBackend(ReportViewerBackend, Func<CancellationToken, Task<IReadOnlyList<string>>>, Func<string, CancellationToken, Task<byte[]>>, Func<string, byte[], CancellationToken, Task>, Func<byte[], string, string?, CancellationToken, Task<IReadOnlyList<DesignerField>?>>?)
Initializes the backend.
public LocalReportDesignerBackend(ReportViewerBackend viewer, Func<CancellationToken, Task<IReadOnlyList<string>>> list, Func<string, CancellationToken, Task<byte[]>> load, Func<string, byte[], CancellationToken, Task> save, Func<byte[], string, string?, CancellationToken, Task<IReadOnlyList<DesignerField>?>>? discover = null)
Parameters
viewerReportViewerBackendThe viewer backend for previews.
listFunc<CancellationToken, Task<IReadOnlyList<string>>>Lists the store.
loadFunc<string, CancellationToken, Task<byte[]>>Loads a report's bytes.
saveFunc<string, byte[], CancellationToken, Task>Saves a report's bytes.
discoverFunc<byte[], string, string, CancellationToken, Task<IReadOnlyList<DesignerField>>>Discovers a dataset's fields, or null for no discovery.