Esempio n. 1
0
 /// <summary>
 /// 返回配置类实例
 /// </summary>
 /// <returns></returns>
 public static EmailConfigInfo LoadConfig()
 {
     ConfigInfo = DefaultConfigFileManager.LoadConfig(ref m_fileoldchange, ConfigFilePath, ConfigInfo);
     return(ConfigInfo as EmailConfigInfo);
 }
Esempio n. 2
0
 /// <summary>
 /// 加载真正有效的配置类
 /// </summary>
 /// <returns></returns>
 public static BaseConfigInfo LoadRealConfig()
 {
     ConfigInfo = DefaultConfigFileManager.LoadConfig(ref m_fileoldchange, ConfigFilePath, ConfigInfo, false);
     return(ConfigInfo as BaseConfigInfo);
 }