using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IMCS.CCS.Service { /// /// 文件数据服务 /// public interface IDataService { /// /// 初始化配置 /// /// /// bool Init(string path); /// /// 读取文件 /// /// /// Task> ReadDataAsync(); /// /// 写入文件 /// /// /// Task WriteDataAsync(T contents); } }