[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot.-ctor

ReportDataSnapshot Constructor

ReportDataSnapshot(Report, Snapshot, Snapshot, IList<Action>, int)

Initializes a new instance of the ReportDataSnapshot class.

Declaration
public ReportDataSnapshot(Def.Report reportDataDefinition, DataTree<Aggregate>.Snapshot aggregateTree, DataTree<object>.Snapshot resultTree, IList<Action> finalizers = null, int version = 1)
Parameters
Type Name Description
Def.Report reportDataDefinition

The data definition.

DataTree<Aggregate>.Snapshot aggregateTree

The tree of aggregates.

DataTree<object>.Snapshot resultTree

The final data tree.

IList<Action> finalizers

The list of callback methods to be called to release data sources.

int version

The snapshot format version.

Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown if version is less than or equal to 0.