BlockInlineRenderable

Class

A renderable that can compose block and inline elements together. Block elements start on a new line, while inline elements continue on the same line.

Namespace: RazorConsole.Core.Renderables
Assembly: RazorConsole.Core

Definition

public sealed class BlockInlineRenderable : IRenderable

Constructors

1
NameTypeDescription
BlockInlineRenderable(IReadOnlyList<RenderableItem>)()ConstructorInitializes a new instance of the BlockInlineRenderable class.

Methods

4
NameTypeDescription
Block(IRenderable)()RenderableItemCreates a block-level renderable item.
Inline(IRenderable)()RenderableItemCreates an inline-level renderable item.
Measure(RenderOptions, int)()Measurement
Render(RenderOptions, int)()IEnumerable<Segment>