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. [Obsolete("Consider using AnsiConsole.Write instead.")] public static void Render(IRenderable renderable) { Write(renderable); } /// /// Renders the specified to the console. /// /// The object to render. public static void Write(IRenderable renderable) { if (renderable is null) { throw new ArgumentNullException(nameof(renderable)); } Console.Write(renderable); } }