Table of Contents

Class ContainerElement

Namespace
Loehnert.Asciidoc
Assembly
Loehnert.Asciidoc.dll

Represents an element that contains other elements.

public class ContainerElement : Element
Inheritance
ContainerElement
Derived
Inherited Members
Extension Methods

Constructors

ContainerElement(params Element[])

Initializes a new instance of the ContainerElement class.

public ContainerElement(params Element[] elements)

Parameters

elements Element[]

Elements to add.

Properties

Elements

Gets the containing elements.

public IEnumerable<Element> Elements { get; }

Property Value

IEnumerable<Element>

Methods

Add(Element)

Adds an element.

public void Add(Element element)

Parameters

element Element

Element to add.

AddAsciidocTo(StringBuilder)

Converts the element to AsciiDoc.

public override void AddAsciidocTo(StringBuilder builder)

Parameters

builder StringBuilder

The AsciiDoc content is added to this.

AddRange(IEnumerable<Element>)

Adds a range of elements.

public void AddRange(IEnumerable<Element> elements)

Parameters

elements IEnumerable<Element>

Elements to add.