using System; using Spectre.Console.Rendering; namespace Spectre.Console { /// /// A console capable of writing ANSI escape sequences. /// public static partial class AnsiConsole { /// /// Renders the specified object to the console. /// /// The object to render. public static void Render(IRenderable renderable) { if (renderable is null) { throw new ArgumentNullException(nameof(renderable)); } Console.Write(renderable); } } }