private void VisitTableRow(MdTableRow row) { PushNewNode(row); foreach (var cell in row) { cell.Accept(this); } PopNode(); }
/// <summary> /// Creates a new instance of <see cref="MdTable"/> with the specified content /// </summary> /// <param name="headerRow">The table's header row (not optional)</param> /// <param name="rows">The table's content rows</param> public static MdTable Table(MdTableRow headerRow, IEnumerable <MdTableRow> rows) => new MdTable(headerRow, rows);
/// <summary> /// Creates a new instance of <see cref="MdTable"/> with the specified content /// </summary> /// <param name="headerRow">The table's header row (not optional)</param> /// <param name="rows">The table's content rows</param> public static MdTable Table(MdTableRow headerRow, params MdTableRow[] rows) => new MdTable(headerRow, rows);