AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A collection of C# source generator for .NET project.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A collection of C# Source Generators for compile-time code generation.
| Package | Description |
|---|---|
IoC/DI registration source generator for Microsoft.Extensions.DependencyInjection.Abstractions | |
| CLI tool for adding IoC attributes to existing projects |
A C# source generator that extends Microsoft.Extensions.DependencyInjection.Abstractions by generating registration code at compile time.
MS.E.DI| Feature | MS.E.DI | SourceGen.Ioc |
|---|---|---|
| Open Generic | Runtime resolution only | ✅ Auto-discovers closed types from usage |
| Nested Open Generic | ❌ | ✅ Auto-discovery + [IocDiscover] |
| Decorator Pattern | ❌ | ✅ With type constraint validation |
| Field/Property/Method Injection | ❌ | ✅ [IocInject] |
| Lifecycle validation | Runtime errors | ✅ Compile-time |
| Circular dependency | Runtime errors | ✅ Compile-time |
dotnet add package SourceGen.Ioc
using SourceGen.Ioc;
using Microsoft.Extensions.DependencyInjection;
public interface IMyService;
[IocRegister<IMyService>(ServiceLifetime.Scoped)]
internal class MyService : IMyService;
// Register in DI container
services.AddMyProject(); // Generated extension method
See full documentation for all features including defaults, keyed services, decorators, open generics, tags, modules, wrappers, factory/instance registration, and compile-time containers.
MIT