mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
Add global usings (#668)
* Use global usings * Fix namespace declarations for test projects
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Spectre.Console.Rendering;
|
||||
using static Spectre.Console.AnsiSequences;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
@ -1,7 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal static class AnsiColorBuilder
|
||||
|
@ -1,5 +1,3 @@
|
||||
using System;
|
||||
using Spectre.Console.Rendering;
|
||||
using static Spectre.Console.AnsiSequences;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using static Spectre.Console.AnsiSequences;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
@ -1,5 +1,3 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal static class AnsiDecorationBuilder
|
||||
|
@ -1,9 +1,3 @@
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Portions of this code was ported from the supports-ansi project by Qingrong Ke
|
||||
// https://github.com/keqingrong/supports-ansi/blob/master/index.js
|
||||
|
@ -1,6 +1,3 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal sealed class AnsiLinkHasher
|
||||
|
@ -1,5 +1,3 @@
|
||||
using System.Linq;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal static class AnsiSequences
|
||||
|
@ -1,6 +1,3 @@
|
||||
using System;
|
||||
using Spectre.Console.Rendering;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal sealed class AnsiConsoleFacade : IAnsiConsole
|
||||
|
@ -1,5 +1,3 @@
|
||||
using Spectre.Console.Rendering;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
/// <summary>
|
||||
|
@ -1,5 +1,3 @@
|
||||
using Spectre.Console.Rendering;
|
||||
|
||||
namespace Spectre.Console;
|
||||
|
||||
internal sealed class LegacyConsoleBackend : IAnsiConsoleBackend
|
||||
|
Reference in New Issue
Block a user