Table of Contents

Class CrossReference

Namespace
Loehnert.Asciidoc
Assembly
Loehnert.Asciidoc.dll

Represents a cross reference.

public class CrossReference : FormattableElement
Inheritance
CrossReference
Inherited Members
Extension Methods

Constructors

CrossReference(string)

Initializes a new instance of the CrossReference class.

public CrossReference(string referenceId)

Parameters

referenceId string

ID of the reference.

CrossReference(string, string)

Initializes a new instance of the CrossReference class.

public CrossReference(string referenceId, string text)

Parameters

referenceId string

ID of the reference.

text string

Text.

Methods

AddAsciidocTo(StringBuilder)

Converts the element to AsciiDoc.

public override void AddAsciidocTo(StringBuilder builder)

Parameters

builder StringBuilder

The AsciiDoc content is added to this.