CxXmlDocItemText

Description

sealed class Tinman.Core.Cx.XmlDoc.CxXmlDocItemText

Derived from

CxXmlDocItem abstract

A paragraph content item that represents textual content, including leading and trailing spacing.

Public / Constants

Escape


public static readonly attribute Escape → (StringEscape)

The escaping rule for XML entities in textual content.

Public / Constructors

Cx​Xml​Doc​Item​Text


public constructor CxXmlDocItemText → (4)

content in : string

[not-null]
The textual content which may include leading or trailing whitespaces and XML entities. See Content.

entities opt : bool = false

Does content in contain XML entities that must be processed with Escape?

code opt : bool = false

See IsCode.

flags opt : WhitespaceFlags = WhitespaceFlags.None

Additional whitespace flags to add.

Creates a new instance of CxXmlDocItemText.

Public / Attributes

Content


[Constant]
public attribute Content → (get)

value : string

[not-null]
The textual content.

Returns the textual content.

Textual content does not include leading spacing, trailing spacing or XML entities.

Is​Code


[Constant]
public attribute IsCode → (get)

value : bool

true if the textual content is an inline code fragment,
false if not.

Returns if the textual content is an inline code fragment.