1using System.Threading.Tasks;
11 private readonly
string row;
12 private readonly
int sectionNr;
13 private readonly
int nrColumns;
43 public string Row => this.row;
65 this.nrColumns == x.nrColumns &&
66 this.sectionNr == x.sectionNr &&
76 public override bool Equals(
object obj)
79 this.nrColumns == x.nrColumns &&
80 this.sectionNr == x.sectionNr &&
91 int h1 = base.GetHashCode();
92 int h2 = this.row?.GetHashCode() ?? 0;
94 h1 = ((h1 << 5) + h1) ^ h2;
95 h2 = this.nrColumns.GetHashCode();
97 h1 = ((h1 << 5) + h1) ^ h2;
98 h2 = this.sectionNr.GetHashCode();
100 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 NrSectionSeparators
Number of section separators.
Abstract base class for block elements.
override bool SameMetaData(MarkdownElement E)
If the current object has same meta-data as E (but not necessarily same content).
override bool InlineSpanElement
If the element is an inline span element.
override void IncrementStatistics(MarkdownStatistics Statistics)
Increments the property or properties in Statistics corresponding to the element.
override Task Render(IRenderer Output)
Renders the element.
override bool Equals(object obj)
Determines whether the specified object is equal to the current object.
int NrColumns
Number of columns in following section.
int SectionNr
Section number.
override int GetHashCode()
Serves as the default hash function.
SectionSeparator(MarkdownDocument Document, int SectionNr, int NrColumns, string Row)
Section Separator
Abstract base class for all markdown elements.
MarkdownDocument Document
Markdown document.
Interface for Markdown renderers.