spectre.console/src/Spectre.Console
Cédric Luthi 7998ece6b6
Obsolete the AnsiConsoleFactory class (#585)
`AnsiConsoleFactory` should be an internal static class. Creating an `IAnsiConsole` can be achieved through `Spectre.Console.AnsiConsole.Create(AnsiConsoleSettings)`

Since `AnsiConsoleFactory` is public, it can't be changed from a non static class to a static class so obsoleting it is the second best thing to do.

Eventually, when `AnsiConsoleFactory` becomes internal and static, `AnsiConsole.Create` can be simplified to this (and the private static field `_factory` can be removed)

```
public static IAnsiConsole Create(AnsiConsoleSettings settings)
{
    return AnsiConsoleFactory.Create(settings);
}
```
2022-03-22 22:36:04 +01:00
..
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2022-02-23 09:06:51 -05:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-01-29 21:46:08 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-01-29 21:46:08 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00
2021-12-23 16:50:31 +01:00