1using System.Collections.Generic;
2using System.Threading.Tasks;
12 private readonly
string initialRow;
13 private readonly
int initialNrColumns;
71 x.initialNrColumns == this.initialNrColumns &&
72 x.initialRow == this.initialRow &&
81 public override bool Equals(
object obj)
84 this.initialNrColumns == x.initialNrColumns &&
85 this.initialRow == x.initialRow &&
95 int h1 = base.GetHashCode();
96 int h2 = this.initialNrColumns.GetHashCode();
98 h1 = ((h1 << 5) + h1) ^ h2;
99 h2 = this.initialRow?.GetHashCode() ?? 0;
101 h1 = ((h1 << 5) + h1) ^ h2;
Contains a markdown document. This markdown document class supports original markdown,...
Contains some basic statistical information about a Markdown document.
int NrSections
Number of sections.
Abstract base class for block elements with children.
Represents a sequence of sections.
override MarkdownElementChildren Create(IEnumerable< MarkdownElement > Children, MarkdownDocument Document)
Creates an object of the same type, and meta-data, as the current object, but with content defined by...
override bool Equals(object obj)
Determines whether the specified object is equal to the current object.
override int GetHashCode()
Serves as the default hash function.
override bool InlineSpanElement
If the element is an inline span element.
string InitialRow
Initial row
Sections(MarkdownDocument Document, int InitialNrColumns, string InitialRow, IEnumerable< MarkdownElement > Children)
Represents a sequence of sections.
override bool SameMetaData(MarkdownElement E)
If the current object has same meta-data as E (but not necessarily same content).
override Task Render(IRenderer Output)
Renders the element.
int InitialNrColumns
Number of columns for initial section.
override void IncrementStatistics(MarkdownStatistics Statistics)
Increments the property or properties in Statistics corresponding to the element.
Abstract base class for all markdown elements with a variable number of child elements.
override IEnumerable< MarkdownElement > Children
Any children of the element.
Abstract base class for all markdown elements.
MarkdownDocument Document
Markdown document.
Interface for Markdown renderers.