Exemplo n.º 1
0
 public static void purge()
 {
     if (__gParameterGlobal != null)
     {
         __gParameterGlobal = null;
     }
 }
Exemplo n.º 2
0
 private static CParameterGlobal __gParameterGlobal = null; //全局配置
 //获取对象
 public static CParameterGlobal shared()
 {
     if (__gParameterGlobal == null)
     {
         __gParameterGlobal = new CParameterGlobal();
     }
     return(__gParameterGlobal);
 }