From 8fa3e0ec79c612975d7e5d6a57861175d80b1496 Mon Sep 17 00:00:00 2001
From: GeWuYou <95328647+GeWuYou@users.noreply.github.com>
Date: Sat, 17 Jan 2026 20:10:22 +0800
Subject: [PATCH] =?UTF-8?q?refactor(serializer):=20=E9=87=8D=E6=9E=84?=
=?UTF-8?q?=E5=BA=8F=E5=88=97=E5=8C=96=E5=99=A8=E6=8E=A5=E5=8F=A3=E7=BB=A7?=
=?UTF-8?q?=E6=89=BF=E5=AE=9E=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
- 为 ISerializer 接口添加 using 语句引用 GFramework.Core.Abstractions.utility
- 修改 ISerializer 接口继承 IUtility 接口以提供基础实用功能
- 保持原有序列化和反序列化方法定义不变
---
GFramework.Game.Abstractions/serializer/ISerializer.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/GFramework.Game.Abstractions/serializer/ISerializer.cs b/GFramework.Game.Abstractions/serializer/ISerializer.cs
index a38b556..e324634 100644
--- a/GFramework.Game.Abstractions/serializer/ISerializer.cs
+++ b/GFramework.Game.Abstractions/serializer/ISerializer.cs
@@ -1,9 +1,11 @@
-namespace GFramework.Game.Abstractions.serializer;
+using GFramework.Core.Abstractions.utility;
+
+namespace GFramework.Game.Abstractions.serializer;
///
/// 定义序列化器接口,提供对象序列化和反序列化的通用方法
///
-public interface ISerializer
+public interface ISerializer : IUtility
{
///
/// 将指定的对象序列化为字符串