Class InlineContainer
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
contentsInlineThe contained inline markup.
InlineContainer(IReadOnlyList<Inline>)
Creates an inline container from a sequence of inline nodes.
protected InlineContainer(IReadOnlyList<Inline> contents)
Parameters
contentsIReadOnlyList<Inline>The contained inline markup.
Properties
Contents
Gets the contained inline markup.
public Inline Contents { get; }
Property Value
Methods
WithContents(Inline)
Creates a copy of this node with new contents.
public abstract InlineContainer WithContents(Inline newContents)
Parameters
newContentsInline