コード例 #1
0
            private void VisitTableRow(MdTableRow row)
            {
                PushNewNode(row);

                foreach (var cell in row)
                {
                    cell.Accept(this);
                }

                PopNode();
            }
コード例 #2
0
 /// <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);
コード例 #3
0
 /// <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);