/// <summary> /// 从配置文件中读取 /// </summary> /// <param name="path"></param> /// <param name="type"></param> /// <returns></returns> private IConfiger LoadConfigFile(string path, Type type) { this.configType = type; fileChangeTime[path] = File.GetLastWriteTime(path); return(ConfigSerialize.DeserializeInfo(path, this.configType)); }
internal bool WriteConfig(string path, IConfiger iConfigInfo) { return(ConfigSerialize.Serializer(path, iConfigInfo)); }