IAnsiConsoleEncoder Interface

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

Methods

abstract string Encode(IAnsiConsole, IEnumerable<IRenderable>)
Encodes the specified IRenderable enumerator.

Extension Methods

T And<IAnsiConsoleEncoder>(Action<IAnsiConsoleEncoder>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.