Move console encoder to rendering namespace

This commit is contained in:
Patrik Svensson
2020-09-21 17:07:05 +02:00
parent 2943535973
commit 697273917e
2 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace Spectre.Console.Rendering
{
/// <summary>
/// Represents a console encoder that can encode
/// recorded segments into a string.
/// </summary>
public interface IAnsiConsoleEncoder
{
/// <summary>
/// Encodes the specified segments.
/// </summary>
/// <param name="segments">The segments to encode.</param>
/// <returns>The encoded string.</returns>
string Encode(IEnumerable<Segment> segments);
}
}