From 6a99b54d6e7618ab84d34f7e994cfa7283573a16 Mon Sep 17 00:00:00 2001
From: GeWuYou <95328647+GeWuYou@users.noreply.github.com>
Date: Mon, 23 Feb 2026 22:40:39 +0800
Subject: [PATCH] =?UTF-8?q?refactor(repository):=20=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E4=BB=93=E5=82=A8=E6=8E=A5=E5=8F=A3=E7=BB=A7=E6=89=BF=E5=AE=9E?=
=?UTF-8?q?=E7=94=A8=E5=B7=A5=E5=85=B7=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 添加 GFramework.Core.Abstractions.utility 命名空间引用
- 修改 IRepository 接口继承 IUtility 接口
- 为仓储接口添加实用工具功能支持
---
GFramework.Game.Abstractions/data/IRepository.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/GFramework.Game.Abstractions/data/IRepository.cs b/GFramework.Game.Abstractions/data/IRepository.cs
index 3e7724e..1aae810 100644
--- a/GFramework.Game.Abstractions/data/IRepository.cs
+++ b/GFramework.Game.Abstractions/data/IRepository.cs
@@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+using GFramework.Core.Abstractions.utility;
+
namespace GFramework.Game.Abstractions.data;
///
@@ -18,7 +20,7 @@ namespace GFramework.Game.Abstractions.data;
///
/// 键的类型
/// 值的类型
-public interface IRepository
+public interface IRepository : IUtility
{
///
/// 添加键值对到仓储中