IAnsiConsoleEncoder

Represents a console encoder that can encode recorded segments into a string.

Represents a console encoder that can encode recorded segments into a string.

Methods

public string Encode(IAnsiConsole console, IEnumerable<IRenderable> renderable)

Encodes the specified IRenderable enumerator.

Parameters:

console (IAnsiConsole)
The console to use when encoding.
renderable (IEnumerable<IRenderable>)
The renderable objects to encode.

Returns:

A string representing the encoded result.