|
|
|
@ -1,9 +1,7 @@ |
|
|
|
|
using System; |
|
|
|
|
namespace Tiobon.Core.Common; |
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Common |
|
|
|
|
public static class ConsoleHelper |
|
|
|
|
{ |
|
|
|
|
public static class ConsoleHelper |
|
|
|
|
{ |
|
|
|
|
private static readonly object _objLock = new(); |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
@ -49,5 +47,4 @@ namespace Tiobon.Core.Common |
|
|
|
|
/// <param name="str">待打印的字符串</param> |
|
|
|
|
/// <param name="color">想要打印的颜色</param> |
|
|
|
|
public static void WriteSuccessLine(this string str, ConsoleColor color = ConsoleColor.Green)=> WriteColorLine(str, color); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|