[]
Uses an action to cache the data using the provided settings.
public ReportViewerConfiguration UseCacheDataStorage(Action<CacheDataSettings> settings)
| Type | Name | Description |
|---|---|---|
| Action<CacheDataSettings> | settings | The action that is caching the data settings. |
| Type | Description |
|---|---|
| ReportViewerConfiguration | The current ReportViewerConfiguration instance. |
Action<CacheDataSettings> cacheAction = (settings) =>
{
// Your implementation of caching the settings.
};
app.UseReportViewer(config =>
{
config.UseCacheDataStorage(cacheAction);
});