TextBlockNode

Description

sealed class Tinman.Core.Document.TextBlockNode

Derived from

DocumentNode abstract
IBlockNode

A preformatted block of text (code block, ASCII-art figure, etc.).

Public / Constructors

Text​Block​Node

2 overloads


public constructor TextBlockNode1 → ()

Creates a new instance of TextBlockNode.


public constructor TextBlockNode2 → (1)

text in : string

[not-null]
Initial value for Text.

Creates a new instance of TextBlockNode.

Public / Attributes

Text


public attribute Text → (get,set)

value : string

[not-null]
The text.

The preformatted block of text.

The text block does not have any leading or trailing empty lines. Leading whitespaces are removed from each line as long as the indentation is not affected. Trailing whitespaces are removed from each line.

Text blocks should have at most 100 characters per line.

Serialization

Serial​Id


public static readonly attribute SerialId → (ISerialTypeInfo)

Serialization information about this type.