RenderableExtensions

Contains extension methods for .

Contains extension methods for IRenderable.

Methods

public static IEnumerable<Segment> GetSegments(IRenderable renderable, IAnsiConsole console)

Gets the segments for a renderable using the specified console.

Parameters:

renderable (IRenderable)
The renderable.
console (IAnsiConsole)
The console.

Returns:

An enumerable containing segments representing the specified IRenderable.