Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DeleteBlocks.cs
1using System.Collections.Generic;
2using System.Threading.Tasks;
4
6{
11 {
17 public DeleteBlocks(MarkdownDocument Document, IEnumerable<MarkdownElement> Children)
18 : base(Document, Children)
19 {
20 }
21
26 public override Task Render(IRenderer Output) => Output.Render(this);
27
31 public override bool InlineSpanElement => false;
32
40 public override MarkdownElementChildren Create(IEnumerable<MarkdownElement> Children, MarkdownDocument Document)
41 {
42 return new DeleteBlocks(Document, Children);
43 }
44
49 public override void IncrementStatistics(MarkdownStatistics Statistics)
50 {
51 Statistics.NrDelete++;
52 }
53 }
54}
Contains a markdown document. This markdown document class supports original markdown,...
Contains some basic statistical information about a Markdown document.
int NrDelete
Number of deletes (span+block).
Abstract base class for block elements with children.
Represents inserted blocks in a markdown document.
Definition: DeleteBlocks.cs:11
override void IncrementStatistics(MarkdownStatistics Statistics)
Increments the property or properties in Statistics corresponding to the element.
Definition: DeleteBlocks.cs:49
DeleteBlocks(MarkdownDocument Document, IEnumerable< MarkdownElement > Children)
Represents inserted blocks in a markdown document.
Definition: DeleteBlocks.cs:17
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...
Definition: DeleteBlocks.cs:40
override bool InlineSpanElement
If the element is an inline span element.
Definition: DeleteBlocks.cs:31
override Task Render(IRenderer Output)
Renders 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.
MarkdownDocument Document
Markdown document.
Interface for Markdown renderers.
Definition: IRenderer.cs:12