Пример #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;
 }