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; }
///
/// 用户数据
///
object UserData { get; set; }
///
/// 执行文件保存操作
///
Task SaveAsync(CancellationToken cancellationToken = default);
///
/// 同步保存文件
///
void Save();
}
}