Abbreviation Class

An abbreviation object stored at the document level. See extension methods in AbbreviationHelper.

public class Abbreviation : LeafBlock

See also

Inheritance
LeafBlock Abbreviation

Constructors

NameDescription
Abbreviation(BlockParser)Initializes a new instance of the Abbreviation class.

Abbreviation(BlockParser)

Abbreviation.cs

Initializes a new instance of the Abbreviation class.

public Abbreviation(BlockParser parser)

Parameters

parser BlockParser
The parser used to create this block.

Properties

NameDescription
LabelGets or sets the label.

Gets or sets the label.

public string? Label { get; set; }

Property value

string?

Fields

NameDescription
LabelSpanThe label span
TextThe text associated to this label.

LabelSpan

The label span

public SourceSpan LabelSpan

Text

The text associated to this label.

public StringSlice Text