private void ParseTable(IHtmlElement table) { foreach (var row in table.GetElementsByTagName("TR")) ParseRow(row); }
private void ParseRow(IHtmlElement row) { var cells = row.GetElementsByTagName("TD"); if (IsDetailRow(row, cells)) { var details = (IList<IResultDetail>)_results.DetailList; details.Add(ParseDetail(cells)); return; } if (IsSummaryRow(row, cells)) ParseSummary(cells.First.Text); }