mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 将硬编码的命名空间路径替换为常量类中的动态引用 - 添加 PathContests 常量类统一管理框架命名空间 - 更新 LoggerGenerator 使用动态命名空间引用 - 重构 ContextAwareGenerator 生成的代码格式和命名空间引用 - 为 ContextAware 生成的属性添加 XML 文档注释 - 简化 ContextAware 生成文件的路径命名规则 - 更新测试代码以匹配新的命名空间引用方式
9 lines
402 B
C#
9 lines
402 B
C#
namespace GFramework.SourceGenerators.constants;
|
|
|
|
public static class PathContests
|
|
{
|
|
public const string BaseNamespace = "GFramework";
|
|
public const string CoreNamespace = $"{BaseNamespace}.Core";
|
|
public const string SourceGeneratorsAbstractionsPath = $"{BaseNamespace}.SourceGenerators.Abstractions";
|
|
public const string CoreAbstractionsNamespace = $"{CoreNamespace}.Abstractions";
|
|
} |