mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00
Update .NET 5 -> .NET 6 in docs
This commit is contained in:
parent
73ab977f26
commit
a60910c15f
@ -4,7 +4,7 @@ _[ برای پایتون، بسیار الهام گرفته شده است.
|
||||
|
||||
## فهرست
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
_[](https://www.nuget.org/packages/spectre.console)_ [](https://app.netlify.com/sites/spectreconsole/deploys)
|
||||
|
||||
A .NET 5/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.
|
||||
A .NET 6/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.
|
||||
It is heavily inspired by the excellent [Rich library](https://github.com/willmcgugan/rich)
|
||||
for Python.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
_[](https://www.nuget.org/packages/spectre.console)_
|
||||
|
||||
Uma biblioteca .NET 5/.NET Standard 2.0 que torna mais fácil criar aplicativos de console bonitos e multiplataforma.
|
||||
Uma biblioteca .NET 6/.NET Standard 2.0 que torna mais fácil criar aplicativos de console bonitos e multiplataforma.
|
||||
É fortemente inspirada na excelente [biblioteca Rich](https://github.com/willmcgugan/rich)
|
||||
para Python.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
_[](https://www.nuget.org/packages/spectre.console)_
|
||||
|
||||
`Spectre.Console`是一个 .NET 5/.NET Standard 2.0 的库,可以更轻松地创建美观的跨平台控制台应用程序。
|
||||
`Spectre.Console`是一个 .NET 6/.NET Standard 2.0 的库,可以更轻松地创建美观的跨平台控制台应用程序。
|
||||
|
||||
深受 [Rich](https://github.com/willmcgugan/rich) 这个Python优秀库的启发。
|
||||
|
||||
|
@ -26,7 +26,7 @@ internal static class StringBuilderExtensions
|
||||
public static void AppendSpan(this StringBuilder builder, ReadOnlySpan<char> span)
|
||||
{
|
||||
// NetStandard 2 lacks the override for StringBuilder to add the span. We'll need to convert the span
|
||||
// to a string for it, but for .NET 5.0 we'll use the override.
|
||||
// to a string for it, but for .NET 5.0 or newer we'll use the override.
|
||||
#if NETSTANDARD2_0
|
||||
builder.Append(span.ToString());
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user