public static DictionaryBase getInstance()
 {
     if (dbInstance == null)
     {
         lock (syncRoot)
         {
             if (dbInstance == null)
                 dbInstance = new DictionaryBase();
         }
     }
     return dbInstance;
 }
Example #2
0
 public static DictionaryBase getInstance()
 {
     if (dbInstance == null)
     {
         lock (syncRoot)
         {
             if (dbInstance == null)
             {
                 dbInstance = new DictionaryBase();
             }
         }
     }
     return(dbInstance);
 }