public override void Render(IEnumerable <IReportSection> sections, ValidationReportData data)
        {
            foreach (IReportSection section in sections)
            {
                IEnumerable <IReportElement> elements = section.CreateSection(data);

                foreach (dynamic element in elements)
                {
                    // Dynamically dispatch to a render method based on the element type
                    Render(element);
                }
            }
        }
Exemplo n.º 2
0
 public abstract void Render(IEnumerable <IReportSection> sections, ValidationReportData data);