IAnsiConsoleEncoder Interface
Represents a console encoder that can encode
recorded segments into a string.
public interface IAnsiConsoleEncoder
- Namespace
- Spectre
.Console .Rendering
Methods
-
abstract string Encode
(IAnsiConsole, IEnumerable <IRenderable> ) -
Encodes the specified
IRenderable
enumerator.
Extension Methods
-
T And
< I Ansi Console Encoder> (Action < I Ansi Console Encoder> ) - 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.