feat(eventbus): add platform runtimes and benchmarks

Add the Entities NativeQueue adapter, standalone .NET runtime and source generator, reproducible smoke coverage, and Unity benchmark assets for EventBus 2.0.
This commit is contained in:
2026-08-26 01:17:39 +08:00
parent ad5a7b68a3
commit 724e0bc8d8
32 changed files with 1813 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# ShrinkEventBus for .NET
- `ShrinkEventBus.Core``netstandard2.1` ValueTask 运行时,不引用 UnityEngine 或 UniTask。
- `ShrinkEventBus.Generator`Roslyn incremental generator,为 `partial` 普通 C# subscriber 生成强类型绑定。
- `ShrinkEventBus.Smoke``net8.0` 烟测,覆盖多 Bus 隔离、Inline 和 DedicatedThread。
```bash
dotnet build DotNet/ShrinkEventBus.Core/ShrinkEventBus.Core.csproj -c Release
dotnet build DotNet/ShrinkEventBus.Generator/ShrinkEventBus.Generator.csproj -c Release
dotnet run --project DotNet/ShrinkEventBus.Smoke/ShrinkEventBus.Smoke.csproj -c Release
```