Exemplo n.º 1
0
 /// <summary>
 /// 返回配置类实例
 /// </summary>
 /// <returns></returns>
 public static MessageCodesConfigInfo LoadConfig()
 {
     if (Utils.FileExists(ConfigFilePath))
     {
         ConfigInfo = DefaultConfigFileManager.LoadConfig(ref m_fileoldchange, ConfigFilePath, ConfigInfo);
         return(ConfigInfo as MessageCodesConfigInfo);
     }
     else
     {
         return(null);
     }
 }