Files
Shi.Ji e31d3560bb 添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
2026-05-18 11:43:09 +08:00

27 lines
617 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MXJM.FileWritable
{
public interface IFileWritable
{
string Description { get; }
/// <summary>
/// 用户数据
/// </summary>
object UserData { get; set; }
/// <summary>
/// 执行文件保存操作
/// </summary>
Task SaveAsync(CancellationToken cancellationToken = default);
/// <summary>
/// 同步保存文件
/// </summary>
void Save();
}
}