示例#1
0
 public static ConfigBLL GetInstance()
 {
     if (instance == null)
     {
         lock (syncRoot)
         {
             if (instance == null)
             {
                 instance = new ConfigBLL();
             }
         }
     }
     return(instance);
 }
示例#2
0
 public static ConfigBLL GetInstance()
 {
     if (instance == null)
     {
         lock (syncRoot)
         {
             if (instance == null)
             {
                 instance = new ConfigBLL();
             }
         }
     }
     return instance;
 }