TC.Tier.CodeGen.Abstractions
1.0.0-alpha.3
This is a prerelease version of TC.Tier.CodeGen.Abstractions.
dotnet add package TC.Tier.CodeGen.Abstractions --version 1.0.0-alpha.3
NuGet\Install-Package TC.Tier.CodeGen.Abstractions -Version 1.0.0-alpha.3
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="TC.Tier.CodeGen.Abstractions" Version="1.0.0-alpha.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TC.Tier.CodeGen.Abstractions" Version="1.0.0-alpha.3" />
<PackageReference Include="TC.Tier.CodeGen.Abstractions" />
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 TC.Tier.CodeGen.Abstractions --version 1.0.0-alpha.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TC.Tier.CodeGen.Abstractions, 1.0.0-alpha.3"
#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 TC.Tier.CodeGen.Abstractions@1.0.0-alpha.3
#: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=TC.Tier.CodeGen.Abstractions&version=1.0.0-alpha.3&prerelease
#tool nuget:?package=TC.Tier.CodeGen.Abstractions&version=1.0.0-alpha.3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TC.Tier.CodeGen.Abstractions
TC.Tier 源生成器的公共标注面——全部 generator 特性 attribute(零实现、零依赖、零生成行为)。消费程序集与生成器共享的类型契约:引用本包即可声明标注,生成逻辑在 TC.Tier.CodeGen(Analyzer 形态注入,零运行时反射)。
标注总览
| 标注 | 产出 | 典型用法 |
|---|---|---|
[KvStore(keyType, valueType)] |
TierKvOfXxx 封闭产品类(formatter/装配全自动) |
[assembly: KvStore(typeof(long), typeof(Payload))] |
[RingKey] |
Ring/Hash/BTree/SkipList 封闭薄类四件套 | 自定义 unmanaged key 一行开放 |
[BinaryLayout] |
布局 struct 的声明式 codec(读写/尺寸/校验) | 持久化布局单点(禁手写偏移) |
[WireMessage] / [WireArray] |
线协议消息 codec(tag/length 前缀/CRC 面) | Core.Net Wire 帧与载荷 |
[TierProtocolExported] / [NetworkProtocol(protocol)] / [MediumOptions(nature)] / [SpecParam] |
TierFs 介质协议注册面(引用即注册,消费方零配置) | S3 等外部协议接入 |
[ValidRange] / [ValidNonDefault] / [ValidHasFlags] |
布局字段校验声明(生成期进入 codec) | 数据契约防呆 |
[ConstantRegistry] |
常量注册表分区(zones) | 协议号/魔数登记 |
布局变更走 attribute 单点 + 生成器产出——禁手写偏移/手写 codec(产品层红线,见各项目 COORDINATION.md)。
依赖
- 无(依赖链最底层——
CodeGen.Abstractions→Contracts→Core→ …)
文档
- 生成器实现与模板:TC.Tier.CodeGen
- 在线文档站:https://docs.mytzz.top/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TC.Tier.CodeGen.Abstractions:
| Package | Downloads |
|---|---|
|
TC.Tier.Contracts
TC.Tier 业务契约层——所有接口契约 + 数据契约(零实现,零抽象类) |
|
|
TC.Tier.Core
TC.Tier 公共基石层——可观测原语、原生互操作、公共契约与核心工具 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.3 | 0 | 9/18/2026 |
| 1.0.0-alpha.2 | 5 | 9/18/2026 |
| 1.0.0-alpha.1 | 50 | 9/16/2026 |