Wjybxx.Dson.Apt
2.2.1
dotnet add package Wjybxx.Dson.Apt --version 2.2.1
NuGet\Install-Package Wjybxx.Dson.Apt -Version 2.2.1
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="Wjybxx.Dson.Apt" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wjybxx.Dson.Apt --version 2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Wjybxx.Dson.Apt, 2.2.1"
#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.
// Install Wjybxx.Dson.Apt as a Cake Addin #addin nuget:?package=Wjybxx.Dson.Apt&version=2.2.1 // Install Wjybxx.Dson.Apt as a Cake Tool #tool nuget:?package=Wjybxx.Dson.Apt&version=2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DSON-APT
Dson.Apt是为Dson.Codec提供的工具,用于生成目标类的编解码类(源代码),以避免运行时的反射开销。 由于C#的编译时源码生成器尚不成熟,使用案例甚少,因此Dson.Apt是基于反射分析类型的,因此尽量避免循环依赖 -- 目标Bean最好是独立的Assembly。
PS:Dson.Apt的最佳应用是Btree.Codec
模块,行为树的所有Codec都是通过Apt自动生成的,而非手动编写的。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Wjybxx.Commons.Apt (>= 1.1.1)
- Wjybxx.Dson.Codec (>= 2.2.1)
- Wjybxx.Dson.Core (>= 2.2.1)
-
net6.0
- Wjybxx.Commons.Apt (>= 1.1.1)
- Wjybxx.Dson.Codec (>= 2.2.1)
- Wjybxx.Dson.Core (>= 2.2.1)
-
net7.0
- Wjybxx.Commons.Apt (>= 1.1.1)
- Wjybxx.Dson.Codec (>= 2.2.1)
- Wjybxx.Dson.Core (>= 2.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.