AnsiConsoleFactory Class

Factory for creating an ANSI console.
[Obsolete("Consider using AnsiConsole.Create instead.")]
public sealed class AnsiConsoleFactory
Namespace
Spectre.Console

Attributes

ObsoleteAttribute

Methods

IAnsiConsole Create(AnsiConsoleSettings)
Creates an ANSI console.

Extension Methods

T And<AnsiConsoleFactory>(Action<AnsiConsoleFactory>)
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.