# SourceGeneratorSample **Repository Path**: czjnoe/source-generator-sample ## Basic Information - **Project Name**: SourceGeneratorSample - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-21 - **Last Updated**: 2025-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 使用 SourceGenerator 实现依赖注入扩展 services.AddServicesInSourceGeneratorSample();// 显试添加接口 自动注入服务 services.AddAttributeServicesInSourceGeneratorSample();// 显试添加特性 自动注入服务