Encode(IAnsiConsole, IEnumerable<IRenderable>) Method
Encodes the specified
IRenderable
enumerator.
string Encode(IAnsiConsole console, IEnumerable<IRenderable> renderable)
- Namespace
- Spectre
.Console .Rendering - Containing Type
- IAnsiConsoleEncoder
Parameters
- IAnsiConsole console
- The console to use when encoding.
-
IEnumerable
<IRenderable> renderable - The renderable objects to encode.
Returns
- string