diff --git a/GFramework.Core/ioc/IocContainer.cs b/GFramework.Core/ioc/IocContainer.cs
index 346aa5c..1d32fe9 100644
--- a/GFramework.Core/ioc/IocContainer.cs
+++ b/GFramework.Core/ioc/IocContainer.cs
@@ -7,11 +7,21 @@ namespace GFramework.Core.ioc;
///
public class IocContainer
{
+ #region Core
+
///
- /// 核心存储结构:
- /// 一个 Type 对应 0~N 个实例
+ /// 存储所有已注册对象实例的集合,用于跟踪和管理容器中的所有对象
+ /// 使用HashSet确保对象唯一性,避免重复注册同一实例
///
- private readonly Dictionary> _instances = new();
+ private readonly HashSet