mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 将 PathContests 类从 GFramework.SourceGenerators.constants 移动到 GFramework.SourceGenerators.Common.constants - 删除旧的 GFramework.Godot.SourceGenerators.constants.PathContests 文件 - 更新 GodotLoggerGenerator 中的命名空间引用 - 更新 LoggerGenerator 和 ContextAwareGenerator 的常量引用 - 为 PathContests 类添加详细的 XML 文档注释 - 扩展 PathContests 类,添加多个模块的命名空间常量定义
42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
namespace GFramework.SourceGenerators.Common.constants;
|
|
|
|
/// <summary>
|
|
/// 定义GFramework项目中使用的路径常量
|
|
/// </summary>
|
|
public static class PathContests
|
|
{
|
|
/// <summary>
|
|
/// GFramework基础命名空间
|
|
/// </summary>
|
|
public const string BaseNamespace = "GFramework";
|
|
|
|
/// <summary>
|
|
/// GFramework核心模块命名空间
|
|
/// </summary>
|
|
public const string CoreNamespace = $"{BaseNamespace}.Core";
|
|
|
|
/// <summary>
|
|
/// GFramework Godot模块命名空间
|
|
/// </summary>
|
|
public const string GodotNamespace = $"{BaseNamespace}.Godot";
|
|
|
|
/// <summary>
|
|
/// GFramework游戏模块命名空间
|
|
/// </summary>
|
|
public const string GameNamespace = $"{BaseNamespace}.Game";
|
|
|
|
/// <summary>
|
|
/// GFramework源代码生成器抽象层命名空间
|
|
/// </summary>
|
|
public const string SourceGeneratorsAbstractionsPath = $"{BaseNamespace}.SourceGenerators.Abstractions";
|
|
|
|
/// <summary>
|
|
/// GFramework Godot源代码生成器抽象层命名空间
|
|
/// </summary>
|
|
public const string GodotSourceGeneratorsAbstractionsPath = $"{GodotNamespace}.SourceGenerators.Abstractions";
|
|
|
|
/// <summary>
|
|
/// GFramework核心抽象层命名空间
|
|
/// </summary>
|
|
public const string CoreAbstractionsNamespace = $"{CoreNamespace}.Abstractions";
|
|
} |