JustInTimeRenderable Class
Represents something renderable that's reconstructed
when its state change in any way.
public abstract class JustInTimeRenderable : Renderable, IRenderable
- Namespace
- Spectre
.Console .Rendering - Interfaces
- Base Types
Methods
-
protected abstract IRenderable Build
() - Builds the inner renderable.
-
protected virtual bool HasDirtyChildren
() - Checks if there are any children that has changed. If so, the underlying renderable needs rebuilding.
-
protected void MarkAsDirty
() - Marks this instance as dirty.
-
protected void MarkAsDirty
(Action) - Marks this instance as dirty.
-
protected override Measurement Measure
(RenderOptions, int) - Measures the renderable object.
-
protected override IEnumerable<Segment> Render
(RenderOptions, int) - Renders the object.
Extension Methods
-
IEnumerable<Segment> GetSegments
(IAnsiConsole) - Gets the segments for a renderable using the specified console.