public SimpleTableReport(List <VerificationRecord> verificationRecords, IPublicationTagger tagger) { _tagger = tagger; Head = new Head { Title = "Pact Verification Results" }; AddStyles(Head); var divContainer = new Div(); Body = new Body(); Body.Content.Add(divContainer); divContainer.Childs.Add(new Heading(1, new Text("Test Results."))); divContainer.Childs.Add(new Paragraph(new Text("Following Table shows the result os " + "running pact tests on backend application. each table row, " + "represents the result of one api endpoint. Since each endpoint" + " might have several interactions verified against, the end point " + "verification status, shows represents the success of all " + "interactions or failure of more than zero interactions."))); var table = new Table { Rows = { TableHeader() } }; verificationRecords.ForEach(r => table.Rows.Add(Row(r))); divContainer.Childs.Add(new Paragraph(table)); divContainer.Attribute("class", "div-container"); }