2using System.Threading.Tasks;
16 private readonly
int nrRecords;
28 List<TableRecord>
TableRecords =
new List<TableRecord>();
30 foreach (XmlNode N
in Xml.ChildNodes)
32 if (N is XmlElement E && E.LocalName ==
"Record")
37 this.nrRecords = this.records.Length;
47 string TableId = await this.tableId.Evaluate(State.
Variables);
51 for (i=0;i<this.nrRecords;i++)
52 Records[i] =
new Record(await this.records[i].Evaluate(State));
Defines a column in a table.
Reports records to a table.
TableRecords(XmlElement Xml, ReportFile Report)
Reports records to a table.
override async Task< bool > Execute(ReportState State)
Executes the report action.
Abstract base class for report actions.
ReportFile Report
Parsed report containing the report action.
Contains a parsed report, as defined in a report file.
Class containing the state of a report.
Variables Variables
Current set of variables.
Query Query
Current query object reference.
Task NewRecords(string TableId, params Record[] Records)
Reports a new set of records in a table.
Defines a record in a table.