mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-31 18:39:00 +08:00
- 添加了新的诊断规则 GF_ContextGet_007 和 GF_ContextGet_08 - 实现了对静态字段和只读字段的跳过逻辑 - 为 [GetAll] 特性添加了跳过字段的警告提示 - 更新了测试用例验证跳过逻辑的正确性 - 修改了代码生成顺序以确保正确的绑定推断 - 在 README 中添加了关于字段跳过的文档说明
48 lines
1.5 KiB
C#
48 lines
1.5 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 SourceGeneratorsPath = $"{BaseNamespace}.SourceGenerators";
|
|
|
|
|
|
/// <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";
|
|
} |