Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DefinitionTerms.cs
1using System.Collections.Generic;
2using System.Threading.Tasks;
4
6{
11 {
17 public DefinitionTerms(MarkdownDocument Document, IEnumerable<MarkdownElement> Terms)
18 : base(Document, Terms)
19 {
20 }
21
28 : base(Document, Terms)
29 {
30 }
31
36 public override Task Render(IRenderer Output) => Output.Render(this);
37
41 public override bool InlineSpanElement => false;
42
50 public override MarkdownElementChildren Create(IEnumerable<MarkdownElement> Children, MarkdownDocument Document)
51 {
53 }
54
59 public override void IncrementStatistics(MarkdownStatistics Statistics)
60 {
61 Statistics.NrDefinitionTerms++;
62 Statistics.NrListItems++;
63 }
64
65 }
66}
Contains a markdown document. This markdown document class supports original markdown,...
Contains some basic statistical information about a Markdown document.
int NrDefinitionTerms
Number of definition terms.
int NrListItems
Number of list items (total).
Abstract base class for block elements with children.
DefinitionTerms(MarkdownDocument Document, params MarkdownElement[] Terms)
Definition terms
override Task Render(IRenderer Output)
Renders the element.
override void IncrementStatistics(MarkdownStatistics Statistics)
Increments the property or properties in Statistics corresponding to the element.
DefinitionTerms(MarkdownDocument Document, IEnumerable< MarkdownElement > Terms)
Definition terms
override bool InlineSpanElement
If the element is an inline span element.
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...
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.
Definition: IRenderer.cs:12