Class ListNode

Namespace
Pixie.Markup
Assembly
Pixie.dll

A common base class for list markup nodes.

public abstract class ListNode : Block
Inheritance
ListNode
Derived
Inherited Members

Constructors

ListNode(IReadOnlyList<Block>)

Creates a list node.

protected ListNode(IReadOnlyList<Block> items)

Parameters

items IReadOnlyList<Block>

The list items.

ListNode(IReadOnlyList<Block>, bool)

Creates a list node.

protected ListNode(IReadOnlyList<Block> items, bool separateItems)

Parameters

items IReadOnlyList<Block>

The list items.

separateItems bool

Indicates whether blank lines should be inserted between items.

Properties

Items

Gets the list items.

public IReadOnlyList<Block> Items { get; }

Property Value

IReadOnlyList<Block>

SeparateItems

Gets a value indicating whether blank lines should separate items.

public bool SeparateItems { get; }

Property Value

bool