YY.Base 1.1.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package YY.Base --version 1.1.0
                    
NuGet\Install-Package YY.Base -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YY.Base" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YY.Base" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="YY.Base" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YY.Base --version 1.1.0
                    
#r "nuget: YY.Base, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package YY.Base@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YY.Base&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=YY.Base&version=1.1.0
                    
Install as a Cake Tool

包含线程池、协程支持、智能指针、String等轻量级基础函数库。

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1-Beta.5 42 4/2/2026
1.1.1-Beta.4 34 3/25/2026
1.1.1-Beta.3 40 3/12/2026
1.1.1-Beta.2 37 3/4/2026
1.1.1-Beta.1 42 2/14/2026
1.1.0 167 1/27/2026
1.1.0-Preview.5 46 1/26/2026
1.1.0-Preview.4 47 1/8/2026
1.1.0-Preview.3 49 12/30/2025
1.1.0-Preview.2 222 12/18/2025
1.1.0-Preview.1 233 12/18/2025
1.1.0-Beta9 426 12/11/2025
1.1.0-Beta8 444 12/10/2025
1.1.0-Beta7 178 11/23/2025
1.1.0-Beta6 348 11/21/2025
1.1.0-Beta5 417 11/19/2025
1.1.0-Beta4 219 11/5/2025
1.1.0-Beta3 185 10/31/2025
1.1.0-Beta2 181 10/10/2025
1.1.0-Beta1 276 9/22/2025
Loading failed

* Bug, AsyncReadWriteTask::RunTask、AsyncConnectTask::RunTask缺乏返回值 * Bug, YY\Base\Memory\UniquePtr.h 未正常pack pop * Bug,解决Wakeup时机滞后,可能导致WaitTask超时 * Fea, 添加VS2017编译兼容 * Fea, 新增ObserverPtr * Bug, Optional operator=无限递归Bug * Fea, 添加 YY::Bind,更安全的进行函数绑定,避免野指针 * Fea, 改善StringView字符串处理   - 添加 StringView::Trim   - 添加 StringView::IsEmpty   - 添加 StringView::SplitAndTakeFirst * Fea, 删除时间精度(TimePrecise),TickCount/TimeSpan统一到微秒精度(阻断性更改) * Fea, 添加DataTime类 * Opt,ArrayView 改名为 Span以更符合标准语义(阻断性更改) * Fea, String/StringView/Span函数添加IndexOf、IndexOfAny、LastIndexOf、LastIndexOfAny、GetData、Contains、ContainsAny、StartsWith、EndsWith * Bug, 解决AsyncPipe::Open编译失败 * Fea, 添加AutoCleanup * Fea, RefPtr允许指向const对象 * Fea, 添加TimeZone(阻断性更改) * Fea,DataTime增加边界检查,大于等于0x8000000000000000ULL的Time认为无效。 * Fea,TimeSpan精度提升到纳秒。 * Fea,类库名称修正,使其更加接近.NET。 * Fea, 添加YY::Handle智能句柄包装器 * Fea, GetFileVersion的兼容性判断调整为运行时判断。提高稳定性 * Fea,添加ThreadTaskRunner::PostQuitMessage * Fea,Windows平台的TaskRunnerDispatch改用系统线程池API实现,减少多模块场景的后台线程数量 * Fea,添加TaskEntry::WaitTask,避免与Wait类重名 * Fea,Wait对象新增支持取消行为 * Fea, 添加TaskRunner::AsyncSleep、TaskRunner::AsyncWaitForObject * Fea, 为智能指针添加IsExpired * Fea,添加WhenAny、WhenAll协程 * Fea,  RefPtr中禁止手工调用AddRef/Release,避免潜在引用计数泄漏