Class ReportSession
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
One run of one report for one set of parameters, kept server-side so a viewer can page, toggle, sort and search it. Operations are serialised: a session is one object the browser hits in sequence.
public sealed class ReportSession : IDisposable
- Inheritance
-
ReportSession
- Implements
- Inherited Members
Properties
- Definition
Gets the definition the session runs.
- Id
Gets the session id.
- LastTouched
Gets when the session was last used.
- Pages
Gets the pages as they stand, toggles applied.
- Parameters
Gets the parameters as resolved.
- Path
Gets the report's path.
- Projection
Gets the HTML projection of the current pages.
- RegionMapJson
Gets the region map of the current pages, as JSON.
- RunOptions
Gets the run's options: parameters, culture, sorts.
- Search
Gets the search index of the current pages.
- ToggledItems
Gets the toggles currently expanded or collapsed, as keys.
- UserName
Gets the user who started the session, or null.
Methods
- Toggle(string)
Toggles a drill-down and re-paginates.