Class InlineContainer

Namespace
Pixie.Markup
Assembly
Pixie.dll

Base type for inline nodes that contain a single inline child.

public abstract class InlineContainer : Inline
Inheritance
InlineContainer
Derived
Inherited Members

Constructors

InlineContainer(Inline)

Creates an inline container.

protected InlineContainer(Inline contents)

Parameters

contents Inline

The contained inline markup.

InlineContainer(IReadOnlyList<Inline>)

Creates an inline container from a sequence of inline nodes.

protected InlineContainer(IReadOnlyList<Inline> contents)

Parameters

contents IReadOnlyList<Inline>

The contained inline markup.

Properties

Contents

Gets the contained inline markup.

public Inline Contents { get; }

Property Value

Inline

Methods

WithContents(Inline)

Creates a copy of this node with new contents.

public abstract InlineContainer WithContents(Inline newContents)

Parameters

newContents Inline

Returns

InlineContainer