Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Standard 0.9#3

Open
mrbbbaixue wants to merge 5 commits intomain from
csharp-linq
Open

Standard 0.9 #3
mrbbbaixue wants to merge 5 commits intomain from
csharp-linq

Conversation

@mrbbbaixue
Copy link
Member

@mrbbbaixue mrbbbaixue commented Jul 4, 2025

No description provided.

This comment was marked as outdated.

核心改进:
- 添加循环引用检测,防止无限递归
- 完善Include引用关系树(父子节点、public/private访问控制)
- 增强查询API(GetElementById、GetAllElements、GetElementPath、GetIncludeTree)
- 优化Program.cs,简化为库函数调用者
- 创建单元测试项目(xUnit + FluentAssertions)
- 添加使用文档(USAGE_EXAMPLE.md)
新增功能:
- Metadata.Parent 属性:获取父节点
- Metadata.IncludeType 属性:获取Include类型(public/private)
- Metadata.GetElementById():按ID查找元素(支持访问控制)
- Metadata.GetAllElements():获取所有指定名称的元素
- Metadata.GetElementPath():获取元素完整路径
- Metadata.GetIncludeTree():可视化Include引用树
测试覆盖:
- 17个单元测试,12个通过
- 测试循环引用检测、Include访问控制、查询API等核心功能
Copy link

cloudflare-workers-and-pages bot commented Feb 18, 2026
edited
Loading

Deploying ra3battlenet-metadata with Cloudflare Pages Cloudflare Pages

Latest commit: f7d1b9c
Status: 🚫 Build failed.

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /