mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(serializer): 重构序列化器接口继承实用工具接口
- 为 ISerializer 接口添加 using 语句引用 GFramework.Core.Abstractions.utility - 修改 ISerializer 接口继承 IUtility 接口以提供基础实用功能 - 保持原有序列化和反序列化方法定义不变
This commit is contained in:
parent
fedf7f9c98
commit
8fa3e0ec79
@ -1,9 +1,11 @@
|
||||
namespace GFramework.Game.Abstractions.serializer;
|
||||
using GFramework.Core.Abstractions.utility;
|
||||
|
||||
namespace GFramework.Game.Abstractions.serializer;
|
||||
|
||||
/// <summary>
|
||||
/// 定义序列化器接口,提供对象序列化和反序列化的通用方法
|
||||
/// </summary>
|
||||
public interface ISerializer
|
||||
public interface ISerializer : IUtility
|
||||
{
|
||||
/// <summary>
|
||||
/// 将指定的对象序列化为字符串
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user