Пример #1
0
 /// <summary>
 /// 初始化文件修改时间和对象实例
 /// </summary>
 static BaseConfigFileManager()
 {
     m_fileoldchange = System.IO.File.GetLastWriteTime(ConfigFilePath);
     m_configinfo    = (BaseConfigInfo)DefaultConfigFileManager.DeserializeInfo(ConfigFilePath, typeof(BaseConfigInfo));
 }
Пример #2
0
 /// <summary>
 /// 重设配置类实例
 /// </summary>
 public static void ResetRealConfig()
 {
     m_configinfo = BaseConfigFileManager.LoadRealConfig();
 }